author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Fri, 23 Feb 2007 19:03:10 +0000 (20:03 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 24 Feb 2007 08:26:18 +0000 (00:26 -0800) | ||
commit | b0e908977ebe43b49badad7fe34bf259dd5d263b | |
tree | 7b4e75862793dd292a7ad8323d3fa51be0bafb46 | tree | snapshot |
parent | 83a5ad61268bbfea7e0d3180528366690f951554 | commit | diff |
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 <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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 <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-upload-pack.txt | diff | blob | history | |
fetch-pack.c | diff | blob | history | |
git-clone.sh | diff | blob | history | |
upload-pack.c | diff | blob | history |