Skip to content

Commit

Permalink
[PATCH] Need to set PAGER in tests
Browse files Browse the repository at this point in the history
"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 <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Pavel Roskin authored and Junio C Hamano committed Aug 12, 2005
1 parent da7bc9b commit d9bdd39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/test-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@

# For repeatability, reset the environment to known value.
LANG=C
PAGER=cat
TZ=UTC
export LANG TZ
export LANG PAGER TZ
unset AUTHOR_DATE
unset AUTHOR_EMAIL
unset AUTHOR_NAME
Expand Down

0 comments on commit d9bdd39

Please sign in to comment.