git-branch: display "was sha1" on branch deletion rather than just "sha1"
[gitweb.git] / t / t1501-worktree.sh
index c039ee3fd86fc30a551a301066528a8574c34c1e..f6a6f839a18de4c3775ea965f164d0d20f2bbe9b 100755 (executable)
@@ -171,7 +171,7 @@ test_expect_success 'git diff' '
 
 test_expect_success 'git grep' '
        (cd repo.git/work/sub &&
-       GIT_DIR=../.. GIT_WORK_TREE=.. git grep -l changed | grep -q dir/tracked)
+       GIT_DIR=../.. GIT_WORK_TREE=.. git grep -l changed | grep dir/tracked)
 '
 
 test_done