Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Enable threaded delta search on Mac OS X/Darwin
[gitweb.git]
/
t
/
t1501-worktree.sh
diff --git
a/t/t1501-worktree.sh
b/t/t1501-worktree.sh
index 8244b3a86f80110925613bac29e9f20ccc7303be..f6a6f839a18de4c3775ea965f164d0d20f2bbe9b 100755
(executable)
--- a/
t/t1501-worktree.sh
+++ b/
t/t1501-worktree.sh
@@
-169,4
+169,9
@@
test_expect_success 'git diff' '
test_cmp diff-FILES.expected result
'
+test_expect_success 'git grep' '
+ (cd repo.git/work/sub &&
+ GIT_DIR=../.. GIT_WORK_TREE=.. git grep -l changed | grep dir/tracked)
+'
+
test_done