]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/index-pack.c
relax usage of the progress API
authorNicolas Pitre <nico@cam.org>
Tue, 30 Oct 2007 18:57:33 +0000 (14:57 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Oct 2007 23:08:40 +0000 (16:08 -0700)
commit4d4fcc5451d9d653bebcc8afa18543cb426abeed
tree4cf86181f94c46f0c56317132ac42dd403c71674
parentdc6a0757c4f966dd124bd85be2adad5a0b7b2167
relax usage of the progress API

Since it is now OK to pass a null pointer to display_progress() and
stop_progress() resulting in a no-op, then we can simplify the code
and remove a bunch of lines by not making those calls conditional all
the time.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c
builtin-prune-packed.c
builtin-unpack-objects.c
index-pack.c
unpack-trees.c