Re: [PATCH 3/8] Doc/gitsubmodules: specify how submodules help in reduced size
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Jan 7, 2018, 00:31 UTC
- Message-ID
- <CAPig+cSh=Hv7x1J8nydSrbgbaLR+JLhXMqpR42a0+m=OgL59JQ@mail.gmail.com>
- In-Reply-To
- <20180106184614.20115-4-kaartic.sivaraam@gmail.com>
On Sat, Jan 6, 2018 at 1:46 PM, Kaartic Sivaraam <kaartic.sivaraam@gmail.com> wrote:
Show 10 quoted lines
> Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com> > --- > diff --git a/Documentation/gitsubmodules.txt b/Documentation/gitsubmodules.txt > @@ -63,6 +63,9 @@ Submodules can be used for at least two different use cases: > * Transfer size: > In its current form Git requires the whole working tree present. It > does not allow partial trees to be transferred in fetch or clone. > + If you have your project as multiple repositories tied together as > + submodules in a superproject, you can avoid fetching the working > + trees of the repositories you are not interested in.
"If your project consists of multiple repositories tied together..."