summaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorBrian Gernhardt <benji@silverinsanity.com>2007-07-03 14:18:11 -0400
committerJunio C Hamano <gitster@pobox.com>2007-07-04 10:09:32 -0700
commit54adf3706c5c799584c1bcdcac96fb3285b97de4 (patch)
treec53c89a333064d050f77ad622f62891e77e1483b /environment.c
parent41c7c1bd6f151f351365451acbf9fade6eb6044c (diff)
downloadgit-54adf3706c5c799584c1bcdcac96fb3285b97de4.tar.gz
Add core.pager config variable.
This adds a configuration variable that performs the same function as, but is overridden by, GIT_PAGER. Signed-off-by: Brian Gernhardt <benji@silverinsanity.com> Acked-by: Johannes E. Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.c b/environment.c
index 1c2773f1bd..f83fb9e448 100644
--- a/environment.c
+++ b/environment.c
@@ -30,6 +30,7 @@ int core_compression_seen;
size_t packed_git_window_size = DEFAULT_PACKED_GIT_WINDOW_SIZE;
size_t packed_git_limit = DEFAULT_PACKED_GIT_LIMIT;
size_t delta_base_cache_limit = 16 * 1024 * 1024;
+char *pager_program;
int pager_in_use;
int pager_use_color = 1;
int auto_crlf = 0; /* 1: both ways, -1: only when adding git objects */