git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[TopGit PATCH] help: use pager

From
Bert Wesarg <bert.wesarg@googlemail.com>
Date
Jun 2, 2009, 20:35 UTC
Message-ID
<1243974912-3310-1-git-send-email-bert.wesarg@googlemail.com>
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
---
 tg.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tg.sh b/tg.sh
index 8c174fb..4185ba2 100644
--- a/tg.sh
+++ b/tg.sh
@@ -269,7 +269,8 @@ do_help()
 		echo "TopGit v$TG_VERSION - A different patch queue manager"
 		echo "Usage: tg [-r REMOTE] ($cmds|help) ..."
 	elif [ -r "@cmddir@"/tg-$1 ] ; then
-		@cmddir@/tg-$1 -h || :
+		setup_pager
+		@cmddir@/tg-$1 -h 2>&1 || :
 		echo
 		if [ -r "@sharedir@/tg-$1.txt" ] ; then
 			cat "@sharedir@/tg-$1.txt"
-- 
tg: (b725fc9..) bw/use-pager-for-help-output (depends on: master)
Message 1 of 1 in “help: use pager”
  1. help: use pagerBert Wesarg, Jun 2, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.