{"thread":{"id":"43826","subject":"[TopGit PATCH] help: use pager","startedAt":"2009-06-02T20:35:12Z","lastAt":"2009-06-02T20:35:12Z","messageCount":1,"participants":["Bert Wesarg"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"299105","messageId":"1243974912-3310-1-git-send-email-bert.wesarg@googlemail.com","threadId":"43826","inReplyTo":null,"subject":"[TopGit PATCH] help: use pager","fromName":"Bert Wesarg","fromEmail":"bert.wesarg@googlemail.com","sentAt":"2009-06-02T20:35:12Z","receivedAt":"2009-06-02T20:35:12Z","isPatch":true,"sender":{"key":"bert.wesarg@googlemail.com","avatar":"https://avatars.githubusercontent.com/u/111934?v=4"},"body":"Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>\n\n---\n tg.sh |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)\n\ndiff --git a/tg.sh b/tg.sh\nindex 8c174fb..4185ba2 100644\n--- a/tg.sh\n+++ b/tg.sh\n@@ -269,7 +269,8 @@ do_help()\n \t\techo \"TopGit v$TG_VERSION - A different patch queue manager\"\n \t\techo \"Usage: tg [-r REMOTE] ($cmds|help) ...\"\n \telif [ -r \"@cmddir@\"/tg-$1 ] ; then\n-\t\t@cmddir@/tg-$1 -h || :\n+\t\tsetup_pager\n+\t\t@cmddir@/tg-$1 -h 2>&1 || :\n \t\techo\n \t\tif [ -r \"@sharedir@/tg-$1.txt\" ] ; then\n \t\t\tcat \"@sharedir@/tg-$1.txt\"\n-- \ntg: (b725fc9..) bw/use-pager-for-help-output (depends on: master)\n"}]}