From: Sloof Lirpa Date: Sun, 01 Apr 2007 00:00:00 GMT Subject: [PATCH 3/3] Human friendly git: add another human readable option. Message-ID: <7vk5wx556z.fsf@assigned-by-dhcp.cox.net> Building on top of the previous patches, this allows you to say: $ git, please nicely ls-files to get a paginated output of ls-files. Signed-off-by: Sloof Lirpa --- git.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/git.c b/git.c index 7909fd3..9124998 100644 --- a/git.c +++ b/git.c @@ -42,6 +42,9 @@ static int handle_options(const char*** argv, int* argc) if (!strcmp(cmd, "please")) ; /* no-op */ + else if (!strcmp(cmd, "nicely")) + setup_pager(); + else if (cmd[0] != '-') break; -- 1.5.1.rc3.26.g4f01