Need to set PAGER in tests
PATCH 1/1 Need to set PAGER in tests
Hello!
"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]>
t/test-lib.sh +2 -1
@@ -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
Signature · 2 lines
Regards, Pavel Roskin
Quoted 3 lines · Pavel Roskin
"
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.
Good catch, thanks.
I did not notice this before, because I always work in Emacs compilation buffer, setting PAGER to cat and EDITOR to emacsclient.