From: Junio C Hamano Date: Mon, 20 Mar 2006 23:07:04 GMT Subject: Re: efficient cloning Message-ID: <7vk6aoiulj.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060320224123.GP18185@pasky.or.cz> Petr Baudis writes: > Then you can make a simple change that if a refname matches a directory > in refs/remotes/, you rewrite it as refs/remotes//master. This > makes 'origin' work seamlessly in a natural way and a lot more elegantly > than if you make up an artifical rule like "if the remote's branch is > master, save it as origin, but save all the other branches verbatim". The "origin" rename applies only to the traditional one. Separate remote stuff stores master in remotes/master. At least that is the way I remember I designed it to work.