summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-05-25 15:25:44 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-05-25 15:25:44 -0700
commit6741c2e64adabfa0422b6d60db177ca88a5eca35 (patch)
tree05b2b3563bd184fd4666e294d93a67140565cb90 /builtin
parentgitweb: Refactor reading and parsing config file into read_config_file (diff)
parentinit/clone: remove short option -L and document --separate-git-dir (diff)
downloadtgif-6741c2e64adabfa0422b6d60db177ca88a5eca35.tar.xz
Merge branch 'maint'
* maint: init/clone: remove short option -L and document --separate-git-dir
Diffstat (limited to 'builtin')
-rw-r--r--builtin/clone.c2
-rw-r--r--builtin/init-db.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/builtin/clone.c b/builtin/clone.c
index 49c838fd3f..f579794d9a 100644
--- a/builtin/clone.c
+++ b/builtin/clone.c
@@ -81,7 +81,7 @@ static struct option builtin_clone_options[] = {
"path to git-upload-pack on the remote"),
OPT_STRING(0, "depth", &option_depth, "depth",
"create a shallow clone of that depth"),
- 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()
diff --git a/builtin/init-db.c b/builtin/init-db.c
index ba13a54793..025aa47c80 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()
};