author | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 Aug 2008 06:21:25 +0000 (23:21 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 Aug 2008 06:21:25 +0000 (23:21 -0700) | ||
commit | 55beff4f536011e5d7f17ae63911f1bb56308feb | |
tree | 63868faf3b0347dc3750be3882847ffb8c138351 | tree | snapshot |
parent | 38881a9066fcb3ce6e0438e6d7b20cce22ece411 | commit | diff |
Fix deleting reflog entries from HEAD reflog
dwim_ref() used to resolve HEAD symbolic ref to its target (i.e. current
branch). This incorrectly removed the reflog entry from the current
branch when 'git reflog delete HEAD@{1}' was asked for.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dwim_ref() used to resolve HEAD symbolic ref to its target (i.e. current
branch). This incorrectly removed the reflog entry from the current
branch when 'git reflog delete HEAD@{1}' was asked for.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-reflog.c | diff | blob | history | |
t/t1410-reflog.sh | diff | blob | history |