Re: [PATCH] Add platform-independent .git "symlink"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sun, 3 Feb 2008, Junio C Hamano wrote:

> "Shawn O. Pearce" <spearce@xxxxxxxxxxx> 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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux