Re: [PATCH 3/3] Teach "git branch" about --new-workdir

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

 



Hi,

On Sun, 22 Jul 2007, Julian Phillips wrote:

> On Sun, 22 Jul 2007, Johannes Schindelin wrote:
> 
> > 	IMHO this is a better syntax than what is in contrib/, and "git
> > 	branch" is probably the right place for such a thing, from a
> > 	user's perspective.
> 
> Surely checkout would make more sense than branch?  You are effectively 
> checking out into a new directory ... also you may want to get an 
> existing branch (certainly most of my usage of new-workdir is checking 
> out existing branches, e.g. to look at - as in build and play with - an 
> interesting branch that someone else has pushed out).

My rationale here was:

- to make sure that the user cannot check out the same branch as in the 
  current repo, _or some other workdir of it_, and

- to have finer grained lock control, as well as respecting has_symlinks.

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