diff --git a/builtin/init-db.c b/builtin/init-db.c
index ba13a54793d46de2410db14e6f387674e3b27c82..d07554c8844a9b7dd3d4ae2b5efe2cbde623e4af 100644 (file)
--- a/builtin/init-db.c
+++ b/builtin/init-db.c
const char *src;
if (S_ISREG(st.st_mode))
- src = read_gitfile_gently(git_link);
+ src = read_gitfile(git_link);
else if (S_ISDIR(st.st_mode))
src = git_link;
else
"specify that the git repository is to be shared amongst several users",
PARSE_OPT_OPTARG | PARSE_OPT_NONEG, shared_callback, 0},
OPT_BIT('q', "quiet", &flags, "be quiet", INIT_DB_QUIET),
- OPT_STRING('L', "separate-git-dir", &real_git_dir, "gitdir",
+ OPT_STRING(0, "separate-git-dir", &real_git_dir, "gitdir",
"separate git dir from working tree"),
OPT_END()
};