{"thread":{"id":"1471","subject":"[PATCH] Need to set PAGER in tests","startedAt":"2005-08-11T02:10:01Z","lastAt":"2005-08-11T05:50:46Z","messageCount":2,"participants":["Pavel Roskin","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"7046","messageId":"1123726201.18644.10.camel@dv","threadId":"1471","inReplyTo":null,"subject":"[PATCH] Need to set PAGER in tests","fromName":"Pavel Roskin","fromEmail":"proski@gnu.org","sentAt":"2005-08-11T02:10:01Z","receivedAt":"2005-08-11T02:10:01Z","isPatch":true,"sender":{"key":"proski@gnu.org","avatar":null},"body":"Hello!\n\n\"t5400-send-pack.sh --verbose\" stops waiting for user input.  It happens\nbecause \"git log\" uses less for output now.  To prevent this, PAGER\nshould be set to cat.\n\nSigned-off-by: Pavel Roskin <proski@gnu.org>\n\ndiff --git a/t/test-lib.sh b/t/test-lib.sh\n--- a/t/test-lib.sh\n+++ b/t/test-lib.sh\n@@ -5,8 +5,9 @@\n \n # For repeatability, reset the environment to known value.\n LANG=C\n+PAGER=cat\n TZ=UTC\n-export LANG TZ\n+export LANG PAGER TZ\n unset AUTHOR_DATE\n unset AUTHOR_EMAIL\n unset AUTHOR_NAME\n\n-- \nRegards,\nPavel Roskin\n"},{"id":"7056","messageId":"7v3bphowcp.fsf@assigned-by-dhcp.cox.net","threadId":"1471","inReplyTo":"1123726201.18644.10.camel@dv","subject":"Re: [PATCH] Need to set PAGER in tests","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-08-11T05:50:46Z","receivedAt":"2005-08-11T05:50:46Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Pavel Roskin <proski@gnu.org> writes:\n\n> \"t5400-send-pack.sh --verbose\" stops waiting for user input.  It happens\n> because \"git log\" uses less for output now.  To prevent this, PAGER\n> should be set to cat.\n\nGood catch, thanks.\n\nI did not notice this before, because I always work in Emacs\ncompilation buffer, setting PAGER to cat and EDITOR to\nemacsclient.\n"}]}