From: Junio C Hamano Date: Thu, 16 Nov 2006 18:27:58 GMT Subject: Re: Cleaning up git user-interface warts Message-ID: <7vlkmb9rgx.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > On Thu, 16 Nov 2006, Linus Torvalds wrote: >> >> (And the real reason for that is simple: "git pull" simply wants to have >> something to _start_ with. It's not hugely fundamental, it's just how it >> was written). > > Here's a very lightly tested patch that allows you to use "git pull" to > populate an empty repository. > > I'm not at all sure this is necessarily the nicest way to do it, but it's > fairly straightforward. > > Junio, what do you think? Yeah, I talked about making "merge" treat missing HEAD as a special case of fast forward, but I like yours better. It is a lot cleaner and to the point.