Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/commit-buffer-length'
[gitweb.git]
/
t
/
t1410-reflog.sh
diff --git
a/t/t1410-reflog.sh
b/t/t1410-reflog.sh
index 236b13a3ab27f54808fa88574738747e3c3936b1..8cab06f90a52b82518aca6f7baa0530eb77ab986 100755
(executable)
--- a/
t/t1410-reflog.sh
+++ b/
t/t1410-reflog.sh
@@
-245,4
+245,12
@@
test_expect_success 'gc.reflogexpire=false' '
'
+test_expect_success 'checkout should not delete log for packed ref' '
+ test $(git reflog master | wc -l) = 4 &&
+ git branch foo &&
+ git pack-refs --all &&
+ git checkout foo &&
+ test $(git reflog master | wc -l) = 4
+'
+
test_done