Re: VCS comparison table
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Oct 17, 2006, 00:24 UTC
- Message-ID
- <eh17q6$od$1@sea.gmane.org>
- In-Reply-To
- <Pine.LNX.4.64.0610161704240.3962@g5.osdl.org>
Linus Torvalds wrote:
Show 14 quoted lines
>> > So there is seldom any real need or reason to actually have multiple >> > checkouts. But it certainly _works_. >> >> But without .git being either symlink, or .git/.gitdir "symref"-link, >> you have to remember what to ser GIT_DIR to, or parameter for --git-dir >> option. > > I'd strongly suggest that people who do this should actually do > > git clone -l > > instead of actually playing games with symlinking .git/ itself or using > GIT_DIR. It means that the two checkouts get separate branch namespaces, > but that's really what you'd want most of the time.
Or symlinking .git/objects (and perhaps .git/remotes and .git/branches). BTW. wouldn't it be rather git clone -l -s? What would happenm on repack, or on repack -a -d?
But it is true that there is no need to checkout different branches to different working areas.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git