author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Mon, 23 Jul 2007 23:39:50 +0000 (00:39 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 25 Jul 2007 00:28:10 +0000 (17:28 -0700) | ||
commit | 7b69b873faf3cfd592bb64a496c6982a540aa7ea | |
tree | 6142de722c399ccfbc5a61e880e129d3d01cdd05 | tree | snapshot |
parent | 2d8ae400d134c326f3ab0ec15ae522fb74cd0b1d | commit | diff |
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>
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 | diff | blob | history | |
reflog-walk.h | diff | blob | history | |
revision.c | diff | blob | history |