Charles Bailey writes:
> +test_expect_success 'grep can find things only in the work tree' '
> + : >work-tree-only &&
> + git add work-tree-only &&
> + test_when_finished "git rm -f work-tree-only" &&
It is better to have the test_when_finished before "git
From: Charles Bailey
This reverts commit 4d5520053 (grep: make it clear i-t-a entries are
ignored, 2015-12-27) and adds an alternative fix to maintain the -L
--cached behavior.
4d5520053 caused 'git grep' to no longer find matches in new files in
the working tree where
2 matches
Mail list logo