summaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-02-15 18:34:28 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-02-16 19:19:05 -0800
commit5f02d31597df35ca98e9080e12bfbb18dadadcbe (patch)
tree92dfdf56c3d4fcf08cc5e4568ea57aa28322fdb6 /tree.c
parentMerge branch 'maint-1.6.6' into maint (diff)
downloadtgif-5f02d31597df35ca98e9080e12bfbb18dadadcbe.tar.xz
Fix use of mutex in threaded grep
The program can decide at runtime not to use threading even if the support is compiled in. In such a case, mutexes are not necessary and left uninitialized. But the code incorrectly tried to take and release the read_sha1_mutex unconditionally. Signed-off-by: Junio C Hamano <gitster@pobox.com> Acked-by: Fredrik Kuivinen <frekui@gmail.com>
Diffstat (limited to 'tree.c')
0 files changed, 0 insertions, 0 deletions