aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLars R. Damerow <lars@pixar.com>2010-03-17 12:55:51 -0700
committerJunio C Hamano <gitster@pobox.com>2010-03-28 09:19:05 -0700
commit0ef37164c2e453e8348fee05e50d3a4ed6d69f6b (patch)
tree94038f312a314a0067d44ed7f765383da65c4d90 /cache.h
parent5e4f61474202122f376b16181b760f390623bf4e (diff)
downloadgit-0ef37164c2e453e8348fee05e50d3a4ed6d69f6b.tar.gz
git-0ef37164c2e453e8348fee05e50d3a4ed6d69f6b.tar.xz
config.c: remove static keyword from git_env_bool()
Since this function is the preferred way to handle boolean environment variables it's useful to have it available to other files. Signed-off-by: Lars R. Damerow <lars@pixar.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 2928107bb..535153e1b 100644
--- a/cache.h
+++ b/cache.h
@@ -949,6 +949,7 @@ extern int git_config_set_multivar(const char *, const char *, const char *, int
extern int git_config_rename_section(const char *, const char *);
extern const char *git_etc_gitconfig(void);
extern int check_repository_format_version(const char *var, const char *value, void *cb);
+extern int git_env_bool(const char *, int);
extern int git_config_system(void);
extern int git_config_global(void);
extern int config_error_nonbool(const char *);