rerere: mention caveat about unmatched conflict markers
[gitweb.git] / t / t4208-log-magic-pathspec.sh
index a1705f70cffe2332fc65f670797539986f330f70..62f335b2d9fe7268f8f6cd878067de8528b5cb75 100755 (executable)
@@ -45,8 +45,9 @@ test_expect_success 'git log -- :' '
 '
 
 test_expect_success 'git log HEAD -- :/' '
+       initial=$(git rev-parse --short HEAD^) &&
        cat >expected <<-EOF &&
-       24b24cf initial
+       $initial initial
        EOF
        (cd sub && git log --oneline HEAD -- :/ >../actual) &&
        test_cmp expected actual