Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-11 10:21:25 +0400
committerJunio C Hamano <gitster@pobox.com>2008-08-11 10:21:25 +0400
commit55beff4f536011e5d7f17ae63911f1bb56308feb (patch)
tree63868faf3b0347dc3750be3882847ffb8c138351 /t/t1410-reflog.sh
parent38881a9066fcb3ce6e0438e6d7b20cce22ece411 (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>
Diffstat (limited to 't/t1410-reflog.sh')
-rwxr-xr-xt/t1410-reflog.sh2
1 files changed, 1 insertions, 1 deletions
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 &&