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 <sitemaster@xxxxxxx> --- 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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html