]> git.ipfire.org Git - thirdparty/git.git/commit - reflog-walk.h
git log -g: Complain, but do not fail, when no reflogs are there
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Mon, 23 Jul 2007 23:39:50 +0000 (00:39 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Jul 2007 00:28:10 +0000 (17:28 -0700)
commit7b69b873faf3cfd592bb64a496c6982a540aa7ea
tree6142de722c399ccfbc5a61e880e129d3d01cdd05
parent2d8ae400d134c326f3ab0ec15ae522fb74cd0b1d
git log -g: Complain, but do not fail, when no reflogs are there

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.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reflog-walk.c
reflog-walk.h
revision.c