From 5a4c8fde1723207870f567c58e9368aeb39578f5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 6 Mar 2021 07:20:14 -0500 Subject: 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 Tested-by: Mike Frysinger --- subcmds/init.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'subcmds/init.py') 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. g.add_option('--clone-filter', action='store', default='blob:none', dest='clone_filter', help='filter for use with --partial-clone [default: %default]') - # TODO(vapier): Expose option with real help text once this has been in the - # wild for a while w/out significant bug reports. Goal is by ~Sep 2020. g.add_option('--worktree', action='store_true', - help=optparse.SUPPRESS_HELP) + help='use git-worktree to manage projects') g.add_option('--archive', dest='archive', action='store_true', help='checkout an archive instead of a git repository for ' -- cgit v1.2.3-54-g00ecf