From b0e908977ebe43b49badad7fe34bf259dd5d263b Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Fri, 23 Feb 2007 20:03:10 +0100 Subject: Fixup no-progress for fetch & clone The intent of the commit 'fetch & clone: do not output progress when not on a tty' was to make fetching and cloning less chatty when output was not redirected (such as in a cron job). However, there was a serious thinko in that commit. It assumed that the client _and_ the server got this update at the same time. But this is obviously not the case, and therefore upload-pack died on seeing the option "--no-progress". This patch fixes that issue by making it a protocol option. So, until your server is updated, you still see the progress, but once the server has this patch, it will be quiet. A minor issue was also fixed: when cloning, the checkout did not heed no_progress. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- Documentation/git-upload-pack.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Documentation/git-upload-pack.txt') diff --git a/Documentation/git-upload-pack.txt b/Documentation/git-upload-pack.txt index c75c86ea79..fd6519299a 100644 --- a/Documentation/git-upload-pack.txt +++ b/Documentation/git-upload-pack.txt @@ -8,7 +8,7 @@ git-upload-pack - Send objects packed back to git-fetch-pack SYNOPSIS -------- -'git-upload-pack' [--strict] [--timeout=] [--no-progress] +'git-upload-pack' [--strict] [--timeout=] DESCRIPTION ----------- @@ -30,9 +30,6 @@ OPTIONS \--timeout=:: Interrupt transfer after seconds of inactivity. -\--no-progress:: - Do not show the progress. - :: The repository to sync from. -- cgit v1.2.3