{"thread":{"id":"43778","subject":"[PATCH] shortlog: use pager","startedAt":"2006-11-27T23:29:21Z","lastAt":"2006-11-27T23:29:21Z","messageCount":1,"participants":["Johannes Schindelin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"298610","messageId":"Pine.LNX.4.63.0611280027320.30004@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"43778","inReplyTo":null,"subject":"[PATCH] shortlog: use pager","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-11-27T23:29:21Z","receivedAt":"2006-11-27T23:29:21Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"\nOn request of the kingpenguin, shortlog now uses the pager if output\ngoes to a tty.\n\nSigned-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>\n---\n git.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/git.c b/git.c\nindex 9bcb17c..63a4747 100644\n--- a/git.c\n+++ b/git.c\n@@ -265,7 +265,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)\n \t\t{ \"rev-parse\", cmd_rev_parse, RUN_SETUP },\n \t\t{ \"rm\", cmd_rm, RUN_SETUP },\n \t\t{ \"runstatus\", cmd_runstatus, RUN_SETUP },\n-\t\t{ \"shortlog\", cmd_shortlog, RUN_SETUP },\n+\t\t{ \"shortlog\", cmd_shortlog, RUN_SETUP | USE_PAGER },\n \t\t{ \"show-branch\", cmd_show_branch, RUN_SETUP },\n \t\t{ \"show\", cmd_show, RUN_SETUP | USE_PAGER },\n \t\t{ \"stripspace\", cmd_stripspace },\n-- \n1.4.4.1.ga3a78-dirty\n"}]}