From: Junio C Hamano Date: Mon, 04 Feb 2008 03:05:17 GMT Subject: Re: [PATCH] Add platform-independent .git "symlink" Message-ID: <7vk5llmnf6.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080204015707.GH24004@spearce.org> "Shawn O. Pearce" 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.