git-repo/subcmds
Nikolai Merinov 09f0abb0ef init: --dissociate option to copy objects borrowed with --reference
"repo init --reference" has two purposes: to decrease bandwidth used
at clone time, and to decrease disk usage afterward, by using the
reference repositories as an alternate store of objects even after
the clone. The downside is that it makes the borrowing repositories
dependent on the reference repositories, so it is easy to end up
with missing objects by mistake after a cleanup operation like "git
gc".

To prevent that, v2.3.0-rc0~30^2 (clone: --dissociate option to mark
that reference is only temporary, 2014-10-14), "git clone" gained a
--dissociate option that makes --reference reuse objects from the
reference repository at clone time but copy them over instead of
using the reference as an alternate. This is more straightforward to
use than plain --reference, at the cost of higher disk usage.

Introduce a --dissociate to "repo init" that brings the same benefits
to repo. The option is simply passed on to "git clone".

Change-Id: Ib50a549eb71e0a2b3e234aea57537923962a80d4
2018-10-19 23:51:23 +05:00
..
__init__.py Some fixes for supporting python3 2013-04-18 21:35:49 +05:30
abandon.py abandon: fix usage of undefined variable 2017-05-26 21:52:23 +09:00
branches.py update markdown/help header format 2018-10-10 01:28:43 -04:00
checkout.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
cherry_pick.py Fix 'repo cherry-pick' to avoid hanging on commit-msg update. 2015-06-22 08:00:20 -04:00
diff.py Option for 'repo diff' to generate output suitable for 'patch' cmd 2012-04-13 09:20:10 -07:00
diffmanifests.py diffmanifests: support custom git pretty format strings 2016-04-21 18:36:11 +00:00
download.py Pass refs to ls-remote 2018-03-24 13:00:08 +05:30
forall.py update markdown/help header format 2018-10-10 01:28:43 -04:00
gitc_delete.py Remove unused pylint suppressions 2018-07-24 22:20:08 +08:00
gitc_init.py Fix gitc-init behavior 2015-10-07 15:43:22 -07:00
grep.py update markdown/help header format 2018-10-10 01:28:43 -04:00
help.py update markdown/help header format 2018-10-10 01:28:43 -04:00
info.py Prevent repo info from crashing when default element doesn't exist. 2015-07-27 16:56:31 -07:00
init.py init: --dissociate option to copy objects borrowed with --reference 2018-10-19 23:51:23 +05:00
list.py Support filtering by group on forall and list subcmd 2015-07-30 12:59:35 -05:00
manifest.py manifest-format: convert to markdown 2018-10-05 19:32:51 -04:00
overview.py Some fixes for supporting python3 2013-04-18 21:35:49 +05:30
prune.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
rebase.py Add option to rebase onto project's manifest version 2016-01-28 10:20:03 -08:00
selfupdate.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
smartsync.py Clean up imports 2012-09-18 09:54:57 +02:00
stage.py Fix "list comprehension redefines 'x'" warnings from pyflakes 2017-07-10 23:26:04 +00:00
start.py When starting a branch, do not use a tag or change value for branch.merge 2017-08-25 09:10:29 +09:00
status.py update markdown/help header format 2018-10-10 01:28:43 -04:00
sync.py update markdown/help header format 2018-10-10 01:28:43 -04:00
upload.py Merge "update markdown/help header format" 2018-10-10 05:54:59 +00:00
version.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00