about summary refs log tree commit diff
path: root/third_party/git/t/t7811-grep-open.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t7811-grep-open.sh')
-rwxr-xr-xthird_party/git/t/t7811-grep-open.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/git/t/t7811-grep-open.sh b/third_party/git/t/t7811-grep-open.sh
index a98785da7955..d1ebfd88c7a9 100755
--- a/third_party/git/t/t7811-grep-open.sh
+++ b/third_party/git/t/t7811-grep-open.sh
@@ -113,6 +113,7 @@ test_expect_success 'modified file' '
 	subdir/grep.c
 	unrelated
 	EOF
+	>empty &&
 
 	echo "enum grep_pat_token" >unrelated &&
 	test_when_finished "git checkout HEAD unrelated" &&