Skip to content

Git fails when trying to read a tag assigned to a commit missing in the history #179

@pomek

Description

@pomek

📝 Provide detailed reproduction steps (if any)

  1. Clone a repository using the following pattern: git clone --depth 1 --no-single-branch ${ repositoryUrl } ${ cwd }.
  2. Include the cloned repository in mrgit.json.
  3. Type mrgit st.

✔️ Expected result

The missing repository should be included in the table.

❌ Actual result

Collecting statuses...
 #  qwerty                                                                   1/3 (33%)
fatal: No tags can describe '8c6b54f297f2496875c801e82ebd136ad3f83536'.
Try --always, or create some tags.

┌───────────┬────────────┬─────────┬────────┐
│ Package   │ Branch/Tag │ Commit  │ Status │
├───────────┼────────────┼─────────┼────────┤
│ ckeditor4 │ stable     │ 1d5a231 │        │
│ ckeditor5 │ ! master   │ 27495f1 │ M1     │
└───────────┴────────────┴─────────┴────────┘

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions