Re: [PATCH] Add option -b/--branch to clone for select a new HEAD

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

 



On Fri, 28 Aug 2009, Martin Langhoff wrote:

On Fri, Aug 28, 2009 at 12:31 PM, Tor Arne Vestb?<torarnv@xxxxxxxxx> wrote:
Glad to see this topic being revised. Here's the original discussion for
reference:

ISTR that early git supported this -- maybe just on the HTTP
implementation? I sure remember writing

  git clone http://host/foo.git#branchname

and getting a cloned repo where 'branchname' was tracking
'origin/branchname', and was checked out as HEAD.

Did you use cogito perhaps?  That had #branch syntax IIRC ...

It would have been dropped by the switch to C builtins :-/

cheers,



m


--
Julian

 ---
"What duck?"
        -- (Terry Pratchett, Soul Music)
--
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]