author | Nicolas Pitre <nico@cam.org> | |
Tue, 30 Oct 2007 18:57:33 +0000 (14:57 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 30 Oct 2007 23:08:40 +0000 (16:08 -0700) | ||
commit | 4d4fcc5451d9d653bebcc8afa18543cb426abeed | |
tree | 4cf86181f94c46f0c56317132ac42dd403c71674 | tree | snapshot |
parent | dc6a0757c4f966dd124bd85be2adad5a0b7b2167 | commit | diff |
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>
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>