Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
list-objects.c: don't add an unparsed NULL as a pending tree
[gitweb.git]
/
t
/
t1501-worktree.sh
diff --git
a/t/t1501-worktree.sh
b/t/t1501-worktree.sh
index 8244b3a86f80110925613bac29e9f20ccc7303be..c039ee3fd86fc30a551a301066528a8574c34c1e 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 -q dir/tracked)
+'
+
test_done