Re: .gitlink for Summer of Code
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Mar 25, 2007, 21:05 UTC
- Message-ID
- <20070325210504.GG12376@spearce.org>
- In-Reply-To
- <7v3b3t3uws.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 17 quoted lines
> "Shawn O. Pearce" <spearce@spearce.org> writes: > > > Actually, I'd almost say put it into .git/config, e.g.: > > > > mkdir .git > > cat >.git/config <<EOF > > [core] > > repositoryversion = 0 > > filemode = true > > link = /path/to/source > > EOF > > > > as then the index and HEAD file can both be stored in .git, just > > like with the non-gitlink case. > > This is not usable at least for me as it does not allow sharing > the .git/config file across checkouts.
Me either.
What I thought of after writing that was that core.link should also imply reading ${core.link}/config before .git/config, so that the repository config can override the master repository, but the master repository provides the bulk of the configuration.
-- Shawn.