Re: [PATCH,v4] git-checkout(1): mention fate of extraneous files

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

 



Hi,

On Mon, 19 Jan 2009, Junio C Hamano wrote:

> [...] the more I think about it, I do not think it is natural at all to 
> expect "checkout" to behave as if you did "rm -fr" everything and then 
> "tar xf" over the void.  What other SCM implements branch switching that 
> way, and what workflow would such a behaviour help?
> 
> We need to draw a line somewhere to avoid cluttering the documentation 
> too much, and I do not think this is something even a person with CVS 
> braindamage would get confused about, which is where I think is a 
> reasonable place to draw that line.

IIRC both CVS and Subversion allow you to say "$SCM co" with an existing 
working directory, which is then updated (and untracked files are left 
alone, as "$SCM up" always did and should do).

So no, not even people with CVS/SVN braindamage would get confused thusly.

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