git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Cleaning up git user-interface warts

From
Horst H. von Brand <vonbrand@inf.utfsm.cl>
Date
Nov 20, 2006, 19:44 UTC
Message-ID
<200611201944.kAKJiCAw014973@laptop13.inf.utfsm.cl>
In-Reply-To
<junkio@cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 12 quoted lines
> 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".

[...]
> 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
Previous: Junio C HamanoNext: Shawn Pearce
Message 2 of 4 in “Re: Cleaning up git user-interface warts”
  1. Junio C HamanoNov 16, 2006
  2. Horst H. von BrandNov 20, 2006
  3. Shawn PearceNov 20, 2006
  4. Jakub NarebskiNov 20, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.