Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sc/pack-refs-deletion-racefix'
[gitweb.git]
/
t
/
t4208-log-magic-pathspec.sh
diff --git
a/t/t4208-log-magic-pathspec.sh
b/t/t4208-log-magic-pathspec.sh
index 69643d101d2130fe4f236719870e8929eca709f2..4c8f3b8e1bdd084a6407d76ff26cff0048e90bdf 100755
(executable)
--- a/
t/t4208-log-magic-pathspec.sh
+++ b/
t/t4208-log-magic-pathspec.sh
@@
-71,8
+71,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