Skip to content

The status command fails when a repository has no tagΒ #157

@pomek

Description

@pomek

πŸ“ Provide detailed reproduction steps (if any)

  1. Create a mrgit.json configuration file containing a repository with no tags.
  2. mrgit sync
  3. mrgit st

βœ”οΈ Expected result

No errors.

❌ Actual result

  • An executed command for collecting the status ends with error: fatal: No names found, cannot describe anything.
  • The table status does not contain the repository.

❓ Possible solution

If a repository has no tags, we should not match anything. Not sure it helps πŸ˜„

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions