Re: multiple branches or multiple repositories
- From
Jeff King <peff@peff.net>
- Date
- Nov 3, 2006, 16:01 UTC
- Message-ID
- <20061103160115.GA27895@coredump.intra.peff.net>
- In-Reply-To
- <eie7ae$ib6$1@sea.gmane.org>
On Fri, Nov 03, 2006 at 02:51:30AM +0100, Han-Wen Nienhuys wrote:
Show 7 quoted lines
> - for each module, create a separate git repository. Inside the > repository, each subproject has its own branching > > - put each module as a separate branch in a shared repository. > > I think the first option is the most natural one, but are there any > issues, besides namespace pollution to the second option?
I don't believe there is currently an option to git-clone to grab only a single branch, so cloners in the second case would end up having to get _all_ modules (though such an option would probably not be hard to implement).
The plus side is that a single 'fetch' would grab updates for all modules (with only a single connection to the server).