summaryrefslogtreecommitdiffstats
path: root/repo
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2021-03-06 07:20:14 -0500
committerMike Frysinger <vapier@google.com>2021-03-09 16:59:59 +0000
commit5a4c8fde1723207870f567c58e9368aeb39578f5 (patch)
tree869f43dfc99eb332368f86b1940588b0033e058e /repo
parent835a34bdb911e15e228cb760043d3f737dd56c84 (diff)
downloadgit-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 'repo')
-rwxr-xr-xrepo2
1 files changed, 1 insertions, 1 deletions
diff --git a/repo b/repo
index d32a84b9..768050ea 100755
--- a/repo
+++ b/repo
@@ -318,7 +318,7 @@ def GetParser(gitc_init=False):
318 help='filter for use with --partial-clone ' 318 help='filter for use with --partial-clone '
319 '[default: %default]') 319 '[default: %default]')
320 group.add_option('--worktree', action='store_true', 320 group.add_option('--worktree', action='store_true',
321 help=optparse.SUPPRESS_HELP) 321 help='use git-worktree to manage projects')
322 group.add_option('--archive', action='store_true', 322 group.add_option('--archive', action='store_true',
323 help='checkout an archive instead of a git repository for ' 323 help='checkout an archive instead of a git repository for '
324 'each project. See git archive.') 324 'each project. See git archive.')