summaryrefslogtreecommitdiffstats
path: root/t/t7811-grep-open.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2010-06-12 18:32:11 +0200
committerJunio C Hamano <gitster@pobox.com>2010-06-13 18:15:11 +0200
commit685359cf2d1996aed2f1b1e2857528819d27105d (patch)
tree844dd76bc91fcb50e9672325f840ef2dcf4afac0 /t/t7811-grep-open.sh
parentgrep: refactor grep_objects loop into its own function (diff)
downloadgit-685359cf2d1996aed2f1b1e2857528819d27105d.tar.xz
git-685359cf2d1996aed2f1b1e2857528819d27105d.zip
Unify code paths of threaded greps
There were three awfully similar code paths ending the threaded grep. It is better to avoid duplicated code, though. This change might very well prevent a race, where the grep patterns were free()d before waiting that all threads finished. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7811-grep-open.sh')
0 files changed, 0 insertions, 0 deletions