summaryrefslogtreecommitdiffstats
path: root/docs/internal-fs-layout.md
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2020-05-20 16:03:45 -0700
committerJonathan Nieder <jrn@google.com>2020-05-21 19:47:36 +0000
commitd79a4bc51b6ca5b47bbea861143c72bccc0ad13a (patch)
treef2d8de86fc76c9207af7be2b0c7ff683471df761 /docs/internal-fs-layout.md
parent682f0b6426a06ed1e89b130d50c6521b1c67d529 (diff)
downloadgit-repo-d79a4bc51b6ca5b47bbea861143c72bccc0ad13a.tar.gz
Make partial clone imply no-clone-bundle by default.
For large projects, clone bundle is useful because it provided a way to efficiently transfer a large portion of git objects through CDN, without needing to interact with git server. However, with partial clones, the intention is to not download most of the objects, so the use of clone bundles would defeat the space savings normally seen with partial clones, as they are downloaded before the first fetch. A new option, --clone-bundle is added to override this behavior. Add a new repo.clonebundle variable which remembers the choice if explicitly given from command line at repo init. Change-Id: I03638474af303a82af34579e16cd4700690b5f43 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/268452 Tested-by: Xin Li <delphij@google.com> Reviewed-by: Jonathan Nieder <jrn@google.com>
Diffstat (limited to 'docs/internal-fs-layout.md')
-rw-r--r--docs/internal-fs-layout.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/internal-fs-layout.md b/docs/internal-fs-layout.md
index 5e8690b8..3537dfda 100644
--- a/docs/internal-fs-layout.md
+++ b/docs/internal-fs-layout.md
@@ -134,6 +134,7 @@ User controlled settings are initialized when running `repo init`.
134|-------------------|---------------------------|-------------| 134|-------------------|---------------------------|-------------|
135| manifest.groups | `--groups` & `--platform` | The manifest groups to sync | 135| manifest.groups | `--groups` & `--platform` | The manifest groups to sync |
136| repo.archive | `--archive` | Use `git archive` for checkouts | 136| repo.archive | `--archive` | Use `git archive` for checkouts |
137| repo.clonebundle | `--clone-bundle` | Whether the initial sync used clone.bundle explicitly |
137| repo.clonefilter | `--clone-filter` | Filter setting when using [partial git clones] | 138| repo.clonefilter | `--clone-filter` | Filter setting when using [partial git clones] |
138| repo.depth | `--depth` | Create shallow checkouts when cloning | 139| repo.depth | `--depth` | Create shallow checkouts when cloning |
139| repo.dissociate | `--dissociate` | Dissociate from any reference/mirrors after initial clone | 140| repo.dissociate | `--dissociate` | Dissociate from any reference/mirrors after initial clone |