summaryrefslogtreecommitdiffstats
path: root/repo
diff options
context:
space:
mode:
authorDavid Pursehouse <dpursehouse@collab.net>2018-10-28 23:30:50 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-10-28 23:30:50 +0000
commit36391bf5caa29cecaa1e7c4cfd3db503e34a17e6 (patch)
tree8759a8d50ab6fe1c968185c14f9ddf22ed98e6db /repo
parentbed8b62345e484b27e048e8f21280c5611f795df (diff)
parent09f0abb0efde83cfc4b850ebdc41f6ed3b61a123 (diff)
downloadgit-repo-36391bf5caa29cecaa1e7c4cfd3db503e34a17e6.tar.gz
Merge "init: --dissociate option to copy objects borrowed with --reference"
Diffstat (limited to 'repo')
-rwxr-xr-xrepo3
1 files changed, 3 insertions, 0 deletions
diff --git a/repo b/repo
index 6d3e8c2f..998731c6 100755
--- a/repo
+++ b/repo
@@ -190,6 +190,9 @@ group.add_option('--mirror',
190group.add_option('--reference', 190group.add_option('--reference',
191 dest='reference', 191 dest='reference',
192 help='location of mirror directory', metavar='DIR') 192 help='location of mirror directory', metavar='DIR')
193group.add_option('--dissociate',
194 dest='dissociate', action='store_true',
195 help='dissociate from reference mirrors after clone')
193group.add_option('--depth', type='int', default=None, 196group.add_option('--depth', type='int', default=None,
194 dest='depth', 197 dest='depth',
195 help='create a shallow clone with given depth; see git clone') 198 help='create a shallow clone with given depth; see git clone')