summaryrefslogtreecommitdiff
path: root/test-sha1.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2010-06-12 11:32:11 -0500
committerJunio C Hamano <gitster@pobox.com>2010-06-13 09:15:11 -0700
commit685359cf2d1996aed2f1b1e2857528819d27105d (patch)
tree844dd76bc91fcb50e9672325f840ef2dcf4afac0 /test-sha1.c
parent30d00c395e3fb9f104a3f4a85f06a039c989cd8d (diff)
downloadgit-685359cf2d1996aed2f1b1e2857528819d27105d.tar.gz
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 'test-sha1.c')
0 files changed, 0 insertions, 0 deletions