summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-05-21 11:02:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-05-21 11:02:15 (GMT)
commit78f17935a306dfd7a1f32c923e0b05a094bf0c25 (patch)
tree69ecde34e33b2a425d38918488ebb45aaf92eb5a /config.c
parent7f3ed824a4ec15fc9725a4992b399ea4364c5adb (diff)
parentcf87463e79a3018f666bfc9af113d3eea58a3d82 (diff)
downloadgit-78f17935a306dfd7a1f32c923e0b05a094bf0c25.zip
git-78f17935a306dfd7a1f32c923e0b05a094bf0c25.tar.gz
git-78f17935a306dfd7a1f32c923e0b05a094bf0c25.tar.bz2
Merge branch 'ld/discovery-limit-to-fs' (early part)
* 'ld/discovery-limit-to-fs' (early part): Rename ONE_FILESYSTEM to DISCOVERY_ACROSS_FILESYSTEM GIT_ONE_FILESYSTEM: flip the default to stop at filesystem boundaries Add support for GIT_ONE_FILESYSTEM truncate cwd string before printing error message config.c: remove static keyword from git_env_bool()
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index aab5329..9b6b1df 100644
--- a/config.c
+++ b/config.c
@@ -739,7 +739,7 @@ const char *git_etc_gitconfig(void)
return system_wide;
}
-static int git_env_bool(const char *k, int def)
+int git_env_bool(const char *k, int def)
{
const char *v = getenv(k);
return v ? git_config_bool(k, v) : def;