summaryrefslogtreecommitdiff
path: root/repo-config.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-05-26 00:51:01 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-26 00:51:01 -0700
commit3208ec9abd8e78970aa15ed0396a557140587058 (patch)
tree7636f81cc0fd99b59a91ff699e6c48757b14f7f2 /repo-config.c
parentMerge branch 'sp/reflog' into next (diff)
parentt6000lib: workaround a possible dash bug (diff)
downloadtgif-3208ec9abd8e78970aa15ed0396a557140587058.tar.xz
Merge branch 'ew/tests' into next
* ew/tests: t6000lib: workaround a possible dash bug t5500-fetch-pack: remove local (bashism) usage. tests: Remove heredoc usage inside quotes t3300-funny-names: shell portability fixes git-format-patch --start-number <n> Don't write directly to a make target ($@). bogus "fatal: Not a git repository" Documentation/Makefile: remove extra / cvsimport: avoid "use" with :tag
Diffstat (limited to 'repo-config.c')
-rw-r--r--repo-config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/repo-config.c b/repo-config.c
index 127afd784c..08fc4cc57d 100644
--- a/repo-config.c
+++ b/repo-config.c
@@ -108,7 +108,8 @@ static int get_value(const char* key_, const char* regex_)
int main(int argc, const char **argv)
{
- setup_git_directory();
+ int nongit = 0;
+ setup_git_directory_gently(&nongit);
while (1 < argc) {
if (!strcmp(argv[1], "--int"))