summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 78d0f5d)
raw | patch | inline | side by side (parent: 78d0f5d)
author | しらいしななこ <nanako3@lavabit.com> | |
Wed, 18 Jun 2008 23:21:11 +0000 (08:21 +0900) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 20 Jun 2008 00:07:41 +0000 (17:07 -0700) |
This function is not used by any other file.
Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h | patch | blob | history | |
config.c | patch | blob | history |
index feb49b788fae1f90496de28fa8d0db6dfa0ff853..8140763008355cbc3aea5e461fcaf835a6b93f90 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -734,7 +734,6 @@ 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 *);
diff --git a/config.c b/config.c
index c2f2bbb000cd003002c1bd346e6be6c9d3ef5c2d..04d97e3d0b3a202868d3a8645710cc387f14443f 100644 (file)
--- a/config.c
+++ b/config.c
return system_wide;
}
-int git_env_bool(const char *k, int def)
+static int git_env_bool(const char *k, int def)
{
const char *v = getenv(k);
return v ? git_config_bool(k, v) : def;