Re: [PATCH v2] checkout: implement "-" shortcut name for last branch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 15, 2009, 20:12 UTC
- Message-ID
- <7vhc40s50t.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <alpine.DEB.1.00.0901151517190.3586@pacific.mpi-cbg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 5 quoted lines
> On Thu, 15 Jan 2009, Johannes Schindelin wrote: > >> [PATCH] pack-objects --all: include HEAD, which could be detached > > In hind sight, it would probably be better to add this to revision.c.
If you mean that "git log --all" should also include a possibly detached HEAD in its traversal, and a patch that implements such a fix would automatically fix "repack -a" without the patch you are responding to, I think I agree 100%.