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

[PATCH] make git-status use a pager

From
Bart Trojanowski <bart@jukie.net>
Date
Apr 24, 2008, 00:57 UTC
Message-ID
<1208998668-28770-1-git-send-email-bart@jukie.net>

make git status act similar to git log and git diff by presenting long output in a pager.

Signed-off-by: Bart Trojanowski <bart@jukie.net>
---
 git.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git.c b/git.c
index c4e4644..89b431f 100644
--- a/git.c
+++ b/git.c
@@ -347,7 +347,7 @@ static void handle_internal_command(int argc, const char **argv)
 		{ "shortlog", cmd_shortlog, USE_PAGER },
 		{ "show-branch", cmd_show_branch, RUN_SETUP },
 		{ "show", cmd_show, RUN_SETUP | USE_PAGER },
-		{ "status", cmd_status, RUN_SETUP | NEED_WORK_TREE },
+		{ "status", cmd_status, RUN_SETUP | NEED_WORK_TREE | USE_PAGER },
 		{ "stripspace", cmd_stripspace },
 		{ "symbolic-ref", cmd_symbolic_ref, RUN_SETUP },
 		{ "tag", cmd_tag, RUN_SETUP },
-- 
1.5.5.1.80.g0f8afae
Next: Johannes Schindelin
Message 1 of 3 in “make git-status use a pager”
  1. make git-status use a pagerBart Trojanowski, Apr 24, 2008
  2. Johannes SchindelinApr 24, 2008
  3. Matt GrahamApr 24, 2008

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.