Re: Marking abandoned branches
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 13, 2006, 19:00 UTC
- Message-ID
- <7vbqpja8wz.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <ee9jv6$ga0$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> writes:
Show 12 quoted lines
> Junio C Hamano wrote: > >> Using tag has an added benefit that you now have a place to say >> why you dropped it. So what we would need to support this is an >> agreed-upon name under $GIT_DIR/refs/ that is omitted from >> display by convention across Porcelains (the core side should >> not ignore them because even when you are abandoning them, you >> do not want to lose them), > > I think that using hidden directory (dot-directory), e.g. > $GIT_DIR/refs/.abandoned/ is a good idea... unless it conflicts somewhat > with the way lock files are named...
Names are not interesting. Visualizers ignoring them consistently is.
By the way, does gitweb still walk $GIT_DIR/refs hierarchy by hand to find out the set of refs? When Linus is done with his refs/ work, that way would become unsupported. You would need to read from "ls-remote $GIT_DIR".