summaryrefslogtreecommitdiff
path: root/builtin-pack-objects.c
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-10-30 21:06:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-10-30 23:08:40 (GMT)
commit2a128d63dc140e8daeaf68659d9263b7389b7d1b (patch)
tree5b99bafae33c1277e2b09008bd44fd50856a57b9 /builtin-pack-objects.c
parent74b6792f7b2d4b410459cf96977a2007ddea8675 (diff)
downloadgit-2a128d63dc140e8daeaf68659d9263b7389b7d1b.zip
git-2a128d63dc140e8daeaf68659d9263b7389b7d1b.tar.gz
git-2a128d63dc140e8daeaf68659d9263b7389b7d1b.tar.bz2
add throughput display to git-push
This one triggers only when git-pack-objects is called with --all-progress and --stdout which is the combination used by git-push. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-pack-objects.c')
-rw-r--r--builtin-pack-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index 52a26a2..25ec65d 100644
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
@@ -606,7 +606,7 @@ static void write_pack_file(void)
char *pack_tmp_name = NULL;
if (pack_to_stdout) {
- f = sha1fd(1, "<stdout>");
+ f = sha1fd_throughput(1, "<stdout>", progress_state);
} else {
char tmpname[PATH_MAX];
int fd;