Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
revision: implement sparse algorithm
[gitweb.git]
/
t
/
t6133-pathspec-rev-dwim.sh
diff --git
a/t/t6133-pathspec-rev-dwim.sh
b/t/t6133-pathspec-rev-dwim.sh
index 8e5b338633e487e2d7e514f3726b3b31f92d502c..a290ffca0d68dacf5204f4349e473bbbc26efd2f 100755
(executable)
--- a/
t/t6133-pathspec-rev-dwim.sh
+++ b/
t/t6133-pathspec-rev-dwim.sh
@@
-35,4
+35,14
@@
test_expect_success '@{foo} with metacharacters dwims to rev' '
test_cmp expect actual
'
+test_expect_success ':/*.t from a subdir dwims to a pathspec' '
+ mkdir subdir &&
+ (
+ cd subdir &&
+ git log -- ":/*.t" >expect &&
+ git log ":/*.t" >actual &&
+ test_cmp expect actual
+ )
+'
+
test_done