summaryrefslogtreecommitdiff
path: root/pack-objects.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-21 05:48:23 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-06-21 09:34:14 (GMT)
commit363b7817e017b7c7e27a925d766c4d9bacfe4471 (patch)
tree6b67fabc86f128914b8f779b46fc3e254d0ff20b /pack-objects.c
parentb1c71b72815cb82a8bad14020a047320b88a04eb (diff)
downloadgit-363b7817e017b7c7e27a925d766c4d9bacfe4471.zip
git-363b7817e017b7c7e27a925d766c4d9bacfe4471.tar.gz
git-363b7817e017b7c7e27a925d766c4d9bacfe4471.tar.bz2
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 179560f..7a8c16c 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;