1
0
mirror of https://github.com/git/git.git synced 2025-03-22 17:36:36 +00:00
git/builtin
Jeff King 391b1f2003 teach send-pack about --[no-]progress
The send_pack function gets a "progress" flag saying "yes,
definitely show progress" or "no, definitely do not show
progress". This gets set properly by transport_push when
send_pack is called directly.

However, when the send-pack command is executed separately
(as it is for the remote-curl helper), there is no way to
tell it "definitely do this". As a result, we do not
properly respect "git push --no-progress" for smart-http
remotes; you will still get progress if stderr is a tty.

This patch teaches send-pack --progress and --no-progress,
and teaches remote-curl to pass the appropriate option to
override send-pack's isatty check. This fixes the
--no-progress case above, and as a bonus, also makes "git
push --progress" work when stderr is not a tty.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-05-01 09:40:30 -07:00
..
2011-12-13 21:58:51 -08:00
2012-01-06 12:44:07 -08:00
2011-11-07 22:12:19 -08:00
2011-12-21 12:02:44 -08:00
2011-12-28 11:32:36 -08:00
2011-12-22 11:27:26 -08:00
2012-01-12 23:33:39 -08:00
2011-11-07 22:12:19 -08:00
2011-12-22 15:30:22 -08:00
2011-12-13 23:07:47 -08:00