Re: Cleaning up git user-interface warts
From: Horst H. von Brand <hidden>
Date: 2016-08-11 20:15:23
Junio C Hamano [off-list ref] wrote:
Junio C Hamano [off-list ref] writes:quoted
Han-Wen Nienhuys [off-list ref] writes:quoted
[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". [...]
So please consider that this is classified as a bug.
Thanks! -- Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 2654431 Universidad Tecnica Federico Santa Maria +56 32 2654239