summaryrefslogtreecommitdiff
path: root/t/t6133-pathspec-rev-dwim.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t6133-pathspec-rev-dwim.sh')
-rwxr-xr-xt/t6133-pathspec-rev-dwim.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/t6133-pathspec-rev-dwim.sh b/t/t6133-pathspec-rev-dwim.sh
index 8e5b338..a290ffc 100755
--- 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