Closed pomek closed 1 year ago
Also, another case. If the repository uses the @latest
tag, but there are no tags, it should not blow up. Instead, use the default branch and print a warning that the @latest
tag could not be matched because the repository does not have tags.
📝 Provide detailed reproduction steps (if any)
mrgit.json
configuration file containing a repository with no tags.mrgit sync
mrgit st
✔️ Expected result
No errors.
❌ Actual result
fatal: No names found, cannot describe anything.
❓ Possible solution
If a repository has no tags, we should not match anything. Not sure it helps 😄