Hi Richard,

thanks for your question.

git does not garbage-collect the commits if there is a reference to 
the commit. So we create references for each commit.

Of course, only a reference for a Leaf in the tree would be necessary, 
but we have not yet implemented a garbage collector for the unneeded 
references.

This is on our todo-list, of course.

Kind regards,
Matthias

On 26-06-2017 13:09:09, Richard Bukovansky wrote:
> Hi,
> I have question… How do you prevent Git's "garbage collector" to remove those 
> empty commits?
> 
> Thanks.
> 
> Richard
> 
> > On 26. Jun 2017, at 12:36, Matthias Beyer <[email protected]> wrote:
> > 
> > Hi List,
> > 
> > we were told[0] to post our release announcement to this list.
> > 
> > We're developing a distributed issue tracking software which uses git 
> > [1]. We released version 0.2.0 a few days ago.
> > 
> > The software itself is written in Rust. Why is this software so 
> > special? Because it uses an alternative approach to issue tracking in 
> > git: We do _not_ check files into the repository, but use the git 
> > plumbing functionality to create empty commits (empty as in "no patch 
> > involved") for the issue messages.
> > 
> > This gives us a few benefits: we do not rely on a linear history, thus 
> > mapping mailing lists to the issue repository. Mapping
> > git{hub,lab,...} to the issue tracking database is possible. Working 
> > offline, in a distributed manner is totally feasible.
> > 
> > We'd love to receive your review and your suggestions, as well as bug 
> > reports and feature requests.
> > 
> > Sidenote: Right now we are tied to the github issue tracking system, 
> > because there is no syncing functionality _yet_. There is also no
> > web-viewer/client yet. Everything is rather bare by now, as you see.
> > 
> > We're also thinking about a functionality to do pull-requests 
> > including reviews, though that is not-so-simple, of course.
> > 
> > [0]: https://github.com/neithernut/git-dit/issues/112
> > [1]: https://github.com/neithernut/git-dit
> > 
> > -- 
> > Mit freundlichen Grüßen,
> > Kind regards,
> > Matthias Beyer
> > 
> > Consider switching to free software.
> > It adds value to your life.
> > https://www.gnu.org/
> > _______________________________________________
> > dist-bugs mailing list
> > [email protected]
> > https://kitenet.net/cgi-bin/mailman/listinfo/dist-bugs
> 
> _______________________________________________
> dist-bugs mailing list
> [email protected]
> https://kitenet.net/cgi-bin/mailman/listinfo/dist-bugs

-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Consider switching to free software.
It adds value to your life.
https://www.gnu.org/

Attachment: signature.asc
Description: PGP signature

_______________________________________________
dist-bugs mailing list
[email protected]
https://kitenet.net/cgi-bin/mailman/listinfo/dist-bugs

Reply via email to