Code

pack-objects: move thread autodetection closer to relevant code
authorNicolas Pitre <nico@fluxnic.net>
Wed, 4 Nov 2009 21:32:46 +0000 (16:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Nov 2009 07:11:42 +0000 (23:11 -0800)
commitef0555712c9821cc163508777f20b934bf146971
tree58d4797ea13be4402ef90c8a5c8330231398dbf5
parent1b52ac5935c3773596fa41f6cf83578ab86b6b83
pack-objects: move thread autodetection closer to relevant code

Let's keep thread stuff close together if possible.  And in this case,
this even reduces the #ifdef noise, and allows for skipping the
autodetection altogether if delta search is not needed (like with a pure
clone).

Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c