summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2008-02-16 06:01:59 +0100
committerJunio C Hamano <gitster@pobox.com>2008-02-15 21:24:54 -0800
commitdfb068be8deef2065970b2a7889acc51abf4dd78 (patch)
treea536c9b37269b1a969504181ef12eb9405eac92a /cache.h
parentee9601e6bef2281e3183e127e1e4e36ed257af7a (diff)
downloadgit-dfb068be8deef2065970b2a7889acc51abf4dd78.tar.gz
Add "const" qualifier to "char *excludes_file".
Also use "git_config_string" to simplify "config.c" code where "excludes_file" 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 ce7b386a4d..43ba6a3ba5 100644
--- a/cache.h
+++ b/cache.h
@@ -615,7 +615,7 @@ extern int pager_in_use(void);
extern int pager_use_color;
extern const char *editor_program;
-extern char *excludes_file;
+extern const char *excludes_file;
/* base85 */
int decode_85(char *dst, const char *line, int linelen);