Re: Cleaning up git user-interface warts
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 20, 2006, 20:02 UTC
- Message-ID
- <ejt1hi$niu$1@sea.gmane.org>
- In-Reply-To
- <200611201944.kAKJiCAw014973@laptop13.inf.utfsm.cl>
Horst H. von Brand wrote:
Show 16 quoted lines
> Junio C Hamano <junkio@cox.net> wrote: >> Junio C Hamano <junkio@cox.net> writes: >>> Han-Wen Nienhuys <hanwen@xs4all.nl> 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