summaryrefslogtreecommitdiff
path: root/t/t1411-reflog-show.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-08-12 14:09:56 -0700
committerJunio C Hamano <gitster@pobox.com>2015-08-12 14:09:56 -0700
commit0188f32304d916ec6a2443937e36421e8da9a8fd (patch)
treeab6152cabcf1ac6c61882b7c78daff20f8aa0c2d /t/t1411-reflog-show.sh
parent53860f03927fea9c46d64b556a06fffe4b46e41f (diff)
parentd0ab058498cf3f1862de76b419abc0b67fabbd83 (diff)
downloadgit-0188f32304d916ec6a2443937e36421e8da9a8fd.tar.gz
Merge branch 'dt/reflog-tests'
Tests that assume how reflogs are represented on the filesystem too much have been corrected. * dt/reflog-tests: tests: remove some direct access to .git/logs t/t7509: remove unnecessary manipulation of reflog
Diffstat (limited to 't/t1411-reflog-show.sh')
-rwxr-xr-xt/t1411-reflog-show.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1411-reflog-show.sh b/t/t1411-reflog-show.sh
index 3eb4f102e5..6ac7734d79 100755
--- a/t/t1411-reflog-show.sh
+++ b/t/t1411-reflog-show.sh
@@ -138,7 +138,7 @@ test_expect_success '--date magic does not override explicit @{0} syntax' '
: >expect
test_expect_success 'empty reflog file' '
git branch empty &&
- : >.git/logs/refs/heads/empty &&
+ git reflog expire --expire=all refs/heads/empty &&
git log -g empty >actual &&
test_cmp expect actual