upload-pack: prepare for sideband message support.
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.
Signed-off-by Junio C Hamano <[email protected]>
--- pack-objects.c | 4 ++++ upload-pack.c | 46 +++++++++++++++++++++++++++++++++++++++------- 2 files changed, 43 insertions(+), 7 deletions(-)
pack-objects.c +4 -0
@@ -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