Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2008-02-16 08:01:11 +0300
committerJunio C Hamano <gitster@pobox.com>2008-02-16 08:24:53 +0300
commit872da32d80c004c26a19a5d6cb31eb3e7f034094 (patch)
tree699c17fe50239d06caca0dbf2a43b6ee7b544c94 /cache.h
parentea5105a5e3c6629ee64b499ea918c2b80882fc22 (diff)
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 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index c83b123fa5..1ecaef14c3 100644
--- a/cache.h
+++ b/cache.h
@@ -610,7 +610,7 @@ extern int write_or_whine_pipe(int fd, const void *buf, size_t count, const char
/* pager.c */
extern void setup_pager(void);
-extern char *pager_program;
+extern const char *pager_program;
extern int pager_in_use(void);
extern int pager_use_color;