Re: [PATCH] Cogito: Support for implicit remote branches in cloned repositories
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 7, 2005, 23:45 UTC
- Message-ID
- <7vhdaoqaxb.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20051107232122.GZ1431@pasky.or.cz>
Petr Baudis <pasky@suse.cz> writes:
> This loses the pretty nice property that 'origin' refers to the HEAD > branch of the remote repository,...
I think the code actually honors what your HEAD points at; I did not go into that detail in the above description.
Show 6 quoted lines
>> *1* I say "by default" here; I think there should be an >> operating mode for git clone that acts as a straight copy, not >> even the current "HEAD" -> "origin" renaming. In fact that is >> what you do with low-level git-clone-pack. > > What would it be useful for?
Cheap back-up, Linus style.