Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-remote-ext
[gitweb.git]
/
builtin
/
init-db.c
diff --git
a/builtin/init-db.c
b/builtin/init-db.c
index edc40ff5748fbd68b64f382c251c6b030cf88803..0271285fad6ad532a6133838f7188498476fd77b 100644
(file)
--- a/
builtin/init-db.c
+++ b/
builtin/init-db.c
@@
-463,7
+463,7
@@
int cmd_init_db(int argc, const char **argv, const char *prefix)
static char git_dir[PATH_MAX+1];
setenv(GIT_DIR_ENVIRONMENT,
- getcwd(git_dir, sizeof(git_dir)), 0);
+ getcwd(git_dir, sizeof(git_dir)),
argc >
0);
}
if (init_shared_repository != -1)