Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin/commit.c: extract ignore_non_trailer() helper function
[gitweb.git]
/
t
/
t6131-pathspec-icase.sh
diff --git
a/t/t6131-pathspec-icase.sh
b/t/t6131-pathspec-icase.sh
index 8d4a7fcb916f9669a9c9ef5b3668f881aff29217..a7c7ff5f4938c1fa7439e7c5a45321572bfc55fe 100755
(executable)
--- a/
t/t6131-pathspec-icase.sh
+++ b/
t/t6131-pathspec-icase.sh
@@
-100,4
+100,10
@@
test_expect_success 'match_pathspec_depth matches :(icase)bar with empty prefix'
test_cmp expect actual
'
+test_expect_success '"git diff" can take magic :(icase) pathspec' '
+ echo FOO/BAR >expect &&
+ git diff --name-only HEAD^ HEAD -- ":(icase)foo/bar" >actual &&
+ test_cmp expect actual
+'
+
test_done