From 55beff4f536011e5d7f17ae63911f1bb56308feb Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 10 Aug 2008 23:21:25 -0700 Subject: 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 --- t/t1410-reflog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/t1410-reflog.sh') diff --git a/t/t1410-reflog.sh b/t/t1410-reflog.sh index 3b9860ea2e..5b24f05573 100755 --- a/t/t1410-reflog.sh +++ b/t/t1410-reflog.sh @@ -175,7 +175,7 @@ test_expect_success 'recover and check' ' ' -test_expect_failure 'delete' ' +test_expect_success 'delete' ' echo 1 > C && test_tick && git commit -m rat C && -- cgit v1.2.1