summaryrefslogtreecommitdiff
path: root/builtin/init-db.c
diff options
context:
space:
mode:
authorNguyen Thai Ngoc Duy <pclouds@gmail.com>2011-05-24 16:40:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-05-25 16:30:26 (GMT)
commit09ffc706e48f93ed622a9a61704b2f767666b30d (patch)
tree125aa14cd9380e9af12a2c6d69c09426d7ebaa61 /builtin/init-db.c
parent9963e025e88f134cf07ef348d80a5821c69a7eb0 (diff)
downloadgit-09ffc706e48f93ed622a9a61704b2f767666b30d.zip
git-09ffc706e48f93ed622a9a61704b2f767666b30d.tar.gz
git-09ffc706e48f93ed622a9a61704b2f767666b30d.tar.bz2
init/clone: remove short option -L and document --separate-git-dir
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/init-db.c')
-rw-r--r--builtin/init-db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/init-db.c b/builtin/init-db.c
index b7370d9..7d8ff09 100644
--- a/builtin/init-db.c
+++ b/builtin/init-db.c
@@ -490,7 +490,7 @@ int cmd_init_db(int argc, const char **argv, const char *prefix)
"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()
};