summaryrefslogtreecommitdiff
path: root/pack-objects.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-20 22:48:23 -0700
committerJunio C Hamano <junkio@cox.net>2006-06-21 02:34:14 -0700
commit363b7817e017b7c7e27a925d766c4d9bacfe4471 (patch)
tree6b67fabc86f128914b8f779b46fc3e254d0ff20b /pack-objects.c
parentb1c71b72815cb82a8bad14020a047320b88a04eb (diff)
downloadgit-363b7817e017b7c7e27a925d766c4d9bacfe4471.tar.gz
upload-pack: prepare for sideband message support.
This does not implement sideband for propagating the status to the downloader yet, but add code to capture the standard error output from the pack-objects process in preparation for sending it off to the client when the protocol extension allows us to do so. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'pack-objects.c')
-rw-r--r--pack-objects.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pack-objects.c b/pack-objects.c
index 179560f2bd..7a8c16c317 100644
--- a/pack-objects.c
+++ b/pack-objects.c
@@ -1221,6 +1221,10 @@ int main(int argc, char **argv)
local = 1;
continue;
}
+ if (!strcmp("--progress", arg)) {
+ progress = 1;
+ continue;
+ }
if (!strcmp("--incremental", arg)) {
incremental = 1;
continue;