summaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2008-02-16 06:01:11 +0100
committerJunio C Hamano <gitster@pobox.com>2008-02-15 21:24:53 -0800
commit872da32d80c004c26a19a5d6cb31eb3e7f034094 (patch)
tree699c17fe50239d06caca0dbf2a43b6ee7b544c94 /environment.c
parentea5105a5e3c6629ee64b499ea918c2b80882fc22 (diff)
downloadgit-872da32d80c004c26a19a5d6cb31eb3e7f034094.tar.gz
Add "const" qualifier to "char *pager_program".
Also use "git_config_string" to simplify "config.c" code where "pager_program" is set. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.c b/environment.c
index 18a1c4eec4..b8869e972e 100644
--- a/environment.c
+++ b/environment.c
@@ -30,7 +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;
+const char *pager_program;
int pager_use_color = 1;
char *editor_program;
char *excludes_file;