author | Nicolas Pitre <nico@cam.org> | |
Wed, 18 Apr 2007 18:27:45 +0000 (14:27 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 23 Apr 2007 05:18:05 +0000 (22:18 -0700) | ||
commit | 96a02f8f6d2192d3686cd1c719044082c89e8391 | |
tree | 773d4edb5a05f860ed36d6e0d9f2562fb9b19c74 | tree | snapshot |
parent | f1af60bdba465779df92090ed370988f202ff043 | commit | diff |
common progress display support
Instead of having this code duplicated in multiple places, let's have
a common interface for progress display. If someday someone wishes to
display a cheezy progress bar instead then only one file will have to
be changed.
Note: I left merge-recursive.c out since it has a strange notion of
progress as it apparently increase the expected total number as it goes.
Someone with more intimate knowledge of what that is supposed to mean
might look at converting it to the common progress interface.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Instead of having this code duplicated in multiple places, let's have
a common interface for progress display. If someday someone wishes to
display a cheezy progress bar instead then only one file will have to
be changed.
Note: I left merge-recursive.c out since it has a strange notion of
progress as it apparently increase the expected total number as it goes.
Someone with more intimate knowledge of what that is supposed to mean
might look at converting it to the common progress interface.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | diff | blob | history | |
builtin-pack-objects.c | diff | blob | history | |
builtin-unpack-objects.c | diff | blob | history | |
index-pack.c | diff | blob | history | |
progress.c | [new file with mode: 0644] | blob |
progress.h | [new file with mode: 0644] | blob |
unpack-trees.c | diff | blob | history |