Skip to content

fix push --progress over file://, git://, etc.

Tay Ray Chuan git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 4 repliesIn review
  2. v13 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8tests: factor out terminal handling from t7006t/lib-terminal.sh t/t7006-pager.sh t/t7006/test-terminal.perl +1 more+87 -880 replies
2/8tests: test terminal output to both stdout and stderrt/lib-terminal.sh t/test-terminal.perl+28 -110 replies
3/8test-lib: allow test code to check the list of declared prerequisitest/test-lib.sh+19 -70 replies
4/8test_terminal: catch use without TTY prerequisitet/lib-terminal.sh t/t7006-pager.sh+12 -80 replies
5/8test_terminal: give priority to test-terminal.perl usaget/lib-terminal.sh+13 -112 replies
6/8t5523-push-upstream: add function to ensure fresh upstream repot/t5523-push-upstream.sh+5 -10 replies
7/8t5523-push-upstream: test progress messagest/t5523-push-upstream.sh+38 -01 reply
8/8push: pass --progress down to git-pack-objectsbuiltin/send-pack.c send-pack.h t/t5523-push-upstream.sh +1 more+7 -20 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJonathan NiederTay Ray Chuan
SeriesR-b
1/8
2/8
3/8
4/8
5/8Noticed-by
6/8
7/8
8/8Helped-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] fix push --progress over file://, git://, etc.

This patch series addresses the issue of git push not displaying progress messages to non-tty stderr, even if --progress is used. As suggested by the subject, this issue afflicts the "builtin smart transports" - file://, git://, ssh://. (All of them use git_transport_push() and thus git-pack-objects.)

The last patch contains the actual fix; most of the other patches improve tests that depend on a tty.

Contents:
[PATCH v2 0/8] fix push --progress over file://, git://, etc.
[PATCH v2 1/8] tests: factor out terminal handling from t7006
[PATCH v2 2/8] tests: test terminal output to both stdout and stderr [PATCH v2 3/8] test-lib: allow test code to check the list of declared prerequisites [PATCH v2 4/8] test_terminal: catch use without TTY prerequisite [PATCH v2 5/8] test_terminal: give priority to test-terminal.perl usage [PATCH v2 6/8] t5523-push-upstream: add function to ensure fresh upstream repo [PATCH v2 7/8] t5523-push-upstream: test progress messages
[PATCH v2 8/8] push: pass --progress down to git-pack-objects

Jeff King (3):
tests: factor out terminal handling from t7006
tests: test terminal output to both stdout and stderr
push: pass --progress down to git-pack-objects

Jonathan Nieder (3):
test-lib: allow test code to check the list of declared prerequisites
test_terminal: catch use without TTY prerequisite
test_terminal: give priority to test-terminal.perl usage

Tay Ray Chuan (2):
t5523-push-upstream: add function to ensure fresh upstream repo
t5523-push-upstream: test progress messages

 builtin/send-pack.c        |    3 ++
 send-pack.h                |    1 +
 t/lib-terminal.sh          |   39 +++++++++++++++++++++++
 t/t5523-push-upstream.sh   |   44 +++++++++++++++++++++++++-
 t/t7006-pager.sh           |   38 +---------------------
 t/t7006/test-terminal.perl |   58 ----------------------------------
 t/test-lib.sh              |   26 +++++++++++----
 t/test-terminal.perl       |   75 ++++++++++++++++++++++++++++++++++++++++++++
 transport.c                |    1 +
 9 files changed, 183 insertions(+), 102 deletions(-)
 create mode 100644 t/lib-terminal.sh
 delete mode 100755 t/t7006/test-terminal.perl
 create mode 100755 t/test-terminal.perl
Signature · 1 line
1.7.2.2.513.ge1ef3