Skip to contentSkip to conversation

upload-pack: prepare for sideband message support.

PATCH In review Junio C Hamano 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 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.

---
 pack-objects.c |    4 ++++
 upload-pack.c  |   46 +++++++++++++++++++++++++++++++++++++++-------
 2 files changed, 43 insertions(+), 7 deletions(-)
pack-objects.c +4 -0
index 179560f..7a8c16c 100644
@@ -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;
upload-pack.c +39 -7

100 lines not on this page · raw message

Signature · 1 line
1.4.0.gbb3f