diff options
author | Nicolas Pitre <nico@cam.org> | 2007-10-30 17:06:21 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-10-30 16:08:40 -0700 |
commit | 2a128d63dc140e8daeaf68659d9263b7389b7d1b (patch) | |
tree | 5b99bafae33c1277e2b09008bd44fd50856a57b9 /builtin-pack-objects.c | |
parent | 74b6792f7b2d4b410459cf96977a2007ddea8675 (diff) | |
download | git-2a128d63dc140e8daeaf68659d9263b7389b7d1b.tar.gz git-2a128d63dc140e8daeaf68659d9263b7389b7d1b.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c index 52a26a28f..25ec65d0f 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; |