Lurker News

Comments (94) 25 threads

Show all comments

Showing thread 9 of 25

nathell1 reply#
This looks great! I'll very much consider using it for my next project, if only for the warm feeling in the stomach that my bugs are close to the project itself. Huge kudos to the author.

The one thing that I'm not sure about is the separate `git bug push/pull` commands. I guess it makes sense, but I'd prefer ordinary `git pull/push/fetch/merge` to seamlessly handle syncing bugs around.

michaelmure1 reply#
git-bug store the data in separate references that are not in `refs/head`, so they are not recognized as branches. This is meant to not pollute the normal code workflow.

git push/pull doesn't touch references outside of branches and git-bug has special code in the push/pull commands to merge bugs when needed.

jimktrains21 reply#
> git-bug store the data in separate references that are not in `refs/head`, so they are not recognized as branches

How does that work with garbage collection?

michaelmure5 replies#
`git gc` will garbage collect what is not referenced by a ref anymore, including arbitrary references. So it's fine !

As each bug reference the file blob needed, once your delete a bug, `git gc` will clean these blob as well.

Continue this thread — 5 replies