Horst H. von Brand wrote: > Junio C Hamano <junkio@xxxxxxx> wrote: >> Junio C Hamano <junkio@xxxxxxx> writes: >>> Han-Wen Nienhuys <hanwen@xxxxxxxxx> 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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html