{"thread":{"id":"43240","subject":"Re: Cleaning up git user-interface warts","startedAt":"2006-11-16T11:47:31Z","lastAt":"2006-11-20T20:02:21Z","messageCount":4,"participants":["Shawn Pearce","Horst H. von Brand","Junio C Hamano","Jakub Narebski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"298694","messageId":"7vslgjaa0c.fsf@assigned-by-dhcp.cox.net","threadId":"43240","inReplyTo":"7v7ixvbq80.fsf@assigned-by-dhcp.cox.net","subject":"Re: Cleaning up git user-interface warts","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-11-16T11:47:31Z","receivedAt":"2006-11-16T11:47:31Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Junio C Hamano <junkio@cox.net> writes:\n\n> Han-Wen Nienhuys <hanwen@xs4all.nl> writes:\n>\n>> [hanwen@haring y]$ git pull ../x\n>> fatal: Needed a single revision\n>> Pulling into a black hole?\n\nHaving said all that, I happen to think that this particular\ncase of pulling into void could deserve to be special cased to\npretend it is a fast forward (after all, nothingness is an\nancestor of anything), if only to make new people's first\nexperience more pleasant.\n\nWorking from nothingness is something not usually done in\neveryday work, so from practical and technical point of view it\ndoes not add much _real_ value to the people who actually uses\nthe system, but nevertheless, new people typically start\nlearning the system from either cloned repository (which I\nbelieve is covered by the existing tools fairly well) or\nemptiness (which bitten us here in a bad way), and making the\nfirst experience more pleasnt to new people have a positive\nvalue of flattening the learning curve.\n\nSo please consider that this is classified as a bug.\n"},{"id":"296953","messageId":"200611201944.kAKJiCAw014973@laptop13.inf.utfsm.cl","threadId":"43240","inReplyTo":"junkio@cox.net","subject":"Re: Cleaning up git user-interface warts","fromName":"Horst H. von Brand","fromEmail":"vonbrand@inf.utfsm.cl","sentAt":"2006-11-20T19:44:12Z","receivedAt":"2006-11-20T19:44:12Z","isPatch":false,"sender":{"key":"vonbrand@inf.utfsm.cl","avatar":"https://avatars.githubusercontent.com/u/211384?v=4"},"body":"Junio C Hamano <junkio@cox.net> wrote:\n> Junio C Hamano <junkio@cox.net> writes:\n> > Han-Wen Nienhuys <hanwen@xs4all.nl> writes:\n> >\n> >> [hanwen@haring y]$ git pull ../x\n> >> fatal: Needed a single revision\n> >> Pulling into a black hole?\n> \n> Having said all that, I happen to think that this particular\n> case of pulling into void could deserve to be special cased to\n> pretend it is a fast forward (after all, nothingness is an\n> ancestor of anything), if only to make new people's first\n> experience more pleasant.\n\nIf you make pushing into an empty repository work also, you fix the case of\n\"create an empty repo for somebody, let them fill it up remotely later\".\n\n[...]\n\n> So please consider that this is classified as a bug.\n\nThanks!\n-- \nDr. Horst H. von Brand                   User #22616 counter.li.org\nDepartamento de Informatica                    Fono: +56 32 2654431\nUniversidad Tecnica Federico Santa Maria             +56 32 2654239\n"},{"id":"294119","messageId":"20061120194637.GB1498@spearce.org","threadId":"43240","inReplyTo":"200611201944.kAKJiCAw014973@laptop13.inf.utfsm.cl","subject":"Re: Cleaning up git user-interface warts","fromName":"Shawn Pearce","fromEmail":"spearce@spearce.org","sentAt":"2006-11-20T19:46:37Z","receivedAt":"2006-11-20T19:46:37Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"\"Horst H. von Brand\" <vonbrand@inf.utfsm.cl> wrote:\n> If you make pushing into an empty repository work also, you fix the case of\n> \"create an empty repo for somebody, let them fill it up remotely later\".\n\nThis seems to work just fine now.  I do it all of the time.\n\n-- \n"},{"id":"298739","messageId":"ejt1hi$niu$1@sea.gmane.org","threadId":"43240","inReplyTo":"200611201944.kAKJiCAw014973@laptop13.inf.utfsm.cl","subject":"Re: Cleaning up git user-interface warts","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2006-11-20T20:02:21Z","receivedAt":"2006-11-20T20:02:21Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Horst H. von Brand wrote:\n> Junio C Hamano <junkio@cox.net> wrote:\n>> Junio C Hamano <junkio@cox.net> writes:\n>>> Han-Wen Nienhuys <hanwen@xs4all.nl> writes:\n>>>\n>>>> [hanwen@haring y]$ git pull ../x\n>>>> fatal: Needed a single revision\n>>>> Pulling into a black hole?\n>> \n>> Having said all that, I happen to think that this particular\n>> case of pulling into void could deserve to be special cased to\n>> pretend it is a fast forward (after all, nothingness is an\n>> ancestor of anything), if only to make new people's first\n>> experience more pleasant.\n> \n> If you make pushing into an empty repository work also, you fix the case of\n> \"create an empty repo for somebody, let them fill it up remotely later\".\n\nThat was only the _pull_ which didn't work in empty repo.\nFetch and push worked (and work) just fine with empty repo.\n\n-- \nJakub Narebski\nWarsaw, Poland\nShadeHawk on #git\n\n"}]}