Skip to content

Commit d9bdd39

Browse files
Pavel RoskinJunio C Hamano
authored andcommitted
[PATCH] Need to set PAGER in tests
"t5400-send-pack.sh --verbose" stops waiting for user input. It happens because "git log" uses less for output now. To prevent this, PAGER should be set to cat. Signed-off-by: Pavel Roskin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent da7bc9b commit d9bdd39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/test-lib.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55

66
# For repeatability, reset the environment to known value.
77
LANG=C
8+
PAGER=cat
89
TZ=UTC
9-
export LANG TZ
10+
export LANG PAGER TZ
1011
unset AUTHOR_DATE
1112
unset AUTHOR_EMAIL
1213
unset AUTHOR_NAME

0 commit comments

Comments
 (0)