Re: [PATCH] Add platform-independent .git "symlink"
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 4, 2008, 14:34 UTC
- Message-ID
- <alpine.LSU.1.00.0802041434360.7372@racer.site>
- In-Reply-To
- <7vk5llmnf6.fsf@gitster.siamese.dyndns.org>
Hi,
On Sun, 3 Feb 2008, Junio C Hamano wrote:
Show 14 quoted lines
> "Shawn O. Pearce" <spearce@spearce.org> writes: > > > The second biggest problem is checking out the same branch in two > > different directories at once. This becomes a problem only if you > > modify the branch, but still, its a problem. > > I agree. The biggest benefit I am getting out of the workdir layout is > that it allows me to check out the same branch in two directories, and > let me work further on one while the other one is compiling and running > the testsuite. The other "compile and test tree" needs to be reset with > --hard once I commit in the "edit tree", but by definition "reset > --hard" is always a safe operation in a "compile and test tree". > > In short, you need to know what you are doing.
But that's exactly what you can use throw-away branches for. I do.
Ciao, Dscho