'Unknown object xxx' when running 'keybase git cleanup'
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 9.2k
- Forks
- 1.3k
- Avg merge
- 12h 58m
- Merged PRs (30d)
- 56
Description
Describe the bug
$ keybase git gc REPO
This may take several minutes...
▶ ERROR Unknown object 39326639643863333632393930373834666538303164323465393636616234383764636663313938 tag *object.Tag
To Reproduce
- Run a
git pushcommand which shows the "Tip: this repo could be sped up with some garbage collection." message and shows the appropriatekeybase git gccommand. - Run the suggested
keybase git gccommand. - After a few seconds the error message shown above appears.
Expected behavior
Garbage collection finishes normally.
Additional numbers
The number 345567
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the documented keybase git gc REPO command after a git push reports that garbage collection is needed. Trace the garbage-collection entry point and the handling of the reported unknown object; done means cleanup completes normally without the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100