On Fri, May 15, 2015 at 05:21:25PM -0400, Richard Hipp wrote: > On 5/15/15, Lluís Batlle i Rossell <vi...@viric.name> wrote: > > > > I also dislike that branches are not part of the stored history, and > > nothing can be checked about old branches (integrated, destroyed, etc). > > > > Huh. I didn't realize that. You mean that there is nothing > equivalent to https://www.fossil-scm.org/fossil/brlist in Git? GitHub > seems to give me some nothing of a list of branches (though clearly > not as useful as the page linked above). Maybe this is only branches > that still have a HEAD - that have not been merged and closed? > > Can you talk more about this problem, from the point of view of > someone whose Git experience is limited?
In a git repository, the branches (named branches) are just labels for specific commits. Now "master" points to that commit, "development" points to that other commit... Whether they point to this or another commit is determined by "git commit", "git pull", ... Removing the "development" branch just means that you remove the label to a commit. And it's gone. Noone knows where "development" pointed to, whether it existed, etc. It's just a file in "~/.git/refs/heads/development" that is removed. If that branch was merged, only the commit log may contain some text that mentions that it had been named "development"; it's optional. Simply it is in the commit log that "git merge" suggests, but you may remove that part of the commit log, of course. If that branch had not been merged, once git collects garbage, it will notice that the commits of that branch aren't referenced by any of those labels (~/.git/refs/*) and will remove them. Only the information referenced by those labels is meant to be kept (and as one commit refers to its parents, all parents are kept too). Regards, Lluís. -- (Escriu-me xifrat si saps PGP / Write ciphered if you know PGP) PGP key D4831A8A - https://emailselfdefense.fsf.org/ _______________________________________________ fossil-dev mailing list fossil-dev@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev