Re: [PATCH] Need to set PAGER in tests

2005-08-10 Thread Junio C Hamano
Pavel Roskin <[EMAIL PROTECTED]> writes:

> "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.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] Need to set PAGER in tests

2005-08-10 Thread Pavel Roskin
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]>

diff --git a/t/test-lib.sh b/t/test-lib.sh
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -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

-- 
Regards,
Pavel Roskin

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html