Re: [PATCH v3 1/8] clone: teach --detach option

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

 



Junio C Hamano <gitster@xxxxxxxxx> writes:

> Junio C Hamano <gitster@xxxxxxxxx> writes:
>
>> Wouldn't it the same thing to do "git clone -n && git checkout
>> --detach"?
>
> Not exactly.  It still creates the initial branch and points HEAD at
> it.  It is so close, which is a bit disappointing, though.

Yes. I was quite hopeful that "git clone -n" would just do the right
thing too :/

I'm guessing that changing the behavior of "git clone -n" is a
non-option, since there may be users relying on it.

So a better way forward is to add the new flag, which I imagine might be
useful to certain end users.



[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