t7002: test for not using external grep on skip-worktree paths

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Nguyễn Thái Ngọc Duy
2010-01-04 19:34:15 +07:00
committed by Junio C Hamano
parent cd83ac4156
commit 8740773ee5
2 changed files with 13 additions and 0 deletions

View File

@ -232,6 +232,7 @@ static int exec_grep(int argc, const char **argv)
int status;
argv[argc] = NULL;
trace_argv_printf(argv, "trace: grep:");
pid = fork();
if (pid < 0)
return pid;