diff options
author | Mike Frysinger <vapier@google.com> | 2021-03-06 07:20:14 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2021-03-09 16:59:59 +0000 |
commit | 5a4c8fde1723207870f567c58e9368aeb39578f5 (patch) | |
tree | 869f43dfc99eb332368f86b1940588b0033e058e /subcmds/init.py | |
parent | 835a34bdb911e15e228cb760043d3f737dd56c84 (diff) | |
download | git-repo-5a4c8fde1723207870f567c58e9368aeb39578f5.tar.gz |
init: expose --worktree option
There's a few rough edges here still, but no known corruption ones,
so open it up a bit for people to experiment with.
Bug: https://crbug.com/gerrit/11486
Change-Id: I81e0122ab6d3e032c546c8239dd4f03740676e80
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/299242
Reviewed-by: Michael Mortensen <mmortensen@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'subcmds/init.py')
-rw-r--r-- | subcmds/init.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index c2376b65..471efc1e 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
@@ -127,10 +127,8 @@ to update the working directory files. | |||
127 | g.add_option('--clone-filter', action='store', default='blob:none', | 127 | g.add_option('--clone-filter', action='store', default='blob:none', |
128 | dest='clone_filter', | 128 | dest='clone_filter', |
129 | help='filter for use with --partial-clone [default: %default]') | 129 | help='filter for use with --partial-clone [default: %default]') |
130 | # TODO(vapier): Expose option with real help text once this has been in the | ||
131 | # wild for a while w/out significant bug reports. Goal is by ~Sep 2020. | ||
132 | g.add_option('--worktree', action='store_true', | 130 | g.add_option('--worktree', action='store_true', |
133 | help=optparse.SUPPRESS_HELP) | 131 | help='use git-worktree to manage projects') |
134 | g.add_option('--archive', | 132 | g.add_option('--archive', |
135 | dest='archive', action='store_true', | 133 | dest='archive', action='store_true', |
136 | help='checkout an archive instead of a git repository for ' | 134 | help='checkout an archive instead of a git repository for ' |