From: Jakub Narebski Date: Mon, 20 Nov 2006 20:02:21 GMT Subject: Re: Cleaning up git user-interface warts Message-ID: In-Reply-To: <200611201944.kAKJiCAw014973@laptop13.inf.utfsm.cl> Horst H. von Brand wrote: > Junio C Hamano wrote: >> Junio C Hamano writes: >>> Han-Wen Nienhuys writes: >>> >>>> [hanwen@haring y]$ git pull ../x >>>> fatal: Needed a single revision >>>> Pulling into a black hole? >> >> Having said all that, I happen to think that this particular >> case of pulling into void could deserve to be special cased to >> pretend it is a fast forward (after all, nothingness is an >> ancestor of anything), if only to make new people's first >> experience more pleasant. > > If you make pushing into an empty repository work also, you fix the case of > "create an empty repo for somebody, let them fill it up remotely later". That was only the _pull_ which didn't work in empty repo. Fetch and push worked (and work) just fine with empty repo. -- Jakub Narebski Warsaw, Poland ShadeHawk on #git