Re: [PATCH] git log -g: Complain, but do not fail, when no reflogs are there
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 24, 2007, 05:37 UTC
- Message-ID
- <7vbqe2jr9m.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0707240039300.14781@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> When asking "git log -g --all", clearly you want to see only those refs > that do have reflogs, but you do not want it to fail, either. > > So instead of die()ing, complain about it, but move on to the other refs.
Hmph, do we even want to error(), I wonder...
Can you tell, at that point, if there were explicit branch names given originally on the command line, or the refs came from --all?