summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-06 16:58:40 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-09 03:27:03 -0700
commit85fb65ed6e41e93760a91b33b512d3d9dc67ac66 (patch)
treee8b00ceee2a8b5880d192609ac80ebfbbeeb0a6d /cache.h
parentcfc01c038709e4cdbf506d29937cac2bc1b76d39 (diff)
downloadgit-85fb65ed6e41e93760a91b33b512d3d9dc67ac66.tar.gz
"git -p cmd" to page anywhere
This allows you to say: git -p diff v2.6.16-rc5.. and the command pipes the output of any git command to your pager. [jc: this resurrects a month old RFC patch with improvement suggested by Linus to call it --paginate instead of --less.] Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 7b5c91c996..b5e3f8fa21 100644
--- a/cache.h
+++ b/cache.h
@@ -382,6 +382,7 @@ extern int receive_keep_pack(int fd[2], const char *me, int quiet, int);
/* pager.c */
extern void setup_pager(void);
+extern int pager_in_use;
/* base85 */
int decode_85(char *dst, char *line, int linelen);