Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sg/archive-restrict-remote'
[gitweb.git]
/
t
/
t4010-diff-pathspec.sh
diff --git
a/t/t4010-diff-pathspec.sh
b/t/t4010-diff-pathspec.sh
index 9f5659f7fe4df23d805e6c38264a1ebf38fc2538..2bb973655bf043cc43292764ffd68becda25aa2e 100755
(executable)
--- a/
t/t4010-diff-pathspec.sh
+++ b/
t/t4010-diff-pathspec.sh
@@
-140,4
+140,10
@@
test_expect_success 'diff multiple wildcard pathspecs' '
test_cmp expect actual
'
+test_expect_success 'diff-cache ignores trailing slash on submodule path' '
+ git diff --name-only HEAD^ submod >expect &&
+ git diff --name-only HEAD^ submod/ >actual &&
+ test_cmp expect actual
+'
+
test_done