diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2008-07-21 23:28:49 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-23 11:14:47 -0700 |
commit | 8f0359f0a611fef9840218ba61162e9916124e89 (patch) | |
tree | af1567313181ae724bb0d20c0cc4a602afccc9bd /builtin.h | |
parent | 0dda1d1ec816c613c9c0fd9b55ef0d3b782b84e8 (diff) | |
download | git-8f0359f0a611fef9840218ba61162e9916124e89.tar.gz |
Allow pager of diff command be enabled/disabled
See for example, status and show commands. Besides,
Documentation/RelNotes-1.6.0.txt mentions that pager.<cmd>
can be used to enable/disable paging behavior per command.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin.h')
-rw-r--r-- | builtin.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -18,6 +18,7 @@ extern int fmt_merge_msg(int merge_summary, struct strbuf *in, struct strbuf *out); extern int commit_tree(const char *msg, unsigned char *tree, struct commit_list *parents, unsigned char *ret); +extern int check_pager_config(const char *cmd); extern int cmd_add(int argc, const char **argv, const char *prefix); extern int cmd_annotate(int argc, const char **argv, const char *prefix); |