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

Re: bad git pull

From
Nicolas Pitre <nico@cam.org>
Date
Dec 18, 2005, 04:17 UTC
Message-ID
<Pine.LNX.4.64.0512172310060.26663@localhost.localdomain>
In-Reply-To
<7v8xujyuna.fsf@assigned-by-dhcp.cox.net>
On Sat, 17 Dec 2005, Junio C Hamano wrote:
Show 6 quoted lines
> Nicolas Pitre <nico@cam.org> writes:
> 
> > One observation is that ORIG_HEAD should probably be named PREV_HEAD in 
> > such context to make it more obvious what it is about.
> 
> I do not see much difference either way,

ORIG suggests "origin" to me, something that was there first, or before anything else. If you want to undo something, you want its "previous" state restored relative to the current state, not the absolute previous (first) one.

> but I suspect ORIG_HEAD
> is pretty much well established by now.

Well, cogito for one doesn't care at all, and it even doesn't make for it to be created/updated.

But still it can remain for what it is now, and PREV_HEAD added for undo purpose.

Not a big deal in any case though.
Nicolas
Previous: Junio C HamanoNext: Linus Torvalds
Message 18 of 22 in “bad git pull”
  1. Don ZickusDec 15, 2005
  2. Junio C HamanoDec 15, 2005
  3. Junio C HamanoDec 15, 2005
  4. Don ZickusDec 16, 2005
  5. Junio C HamanoDec 16, 2005
  6. Carl BaldwinDec 16, 2005
  7. Junio C HamanoDec 16, 2005
  8. Morten WelinderDec 16, 2005
  9. Junio C HamanoDec 16, 2005
  10. Linus TorvaldsDec 16, 2005
  11. Morten WelinderDec 17, 2005
  12. Linus TorvaldsDec 17, 2005
  13. Junio C HamanoDec 17, 2005
  14. Linus TorvaldsDec 17, 2005
  15. Junio C HamanoDec 17, 2005
  16. Nicolas PitreDec 17, 2005
  17. Junio C HamanoDec 18, 2005
  18. Nicolas PitreDec 18, 2005
  19. Linus TorvaldsDec 18, 2005
  20. Junio C HamanoDec 18, 2005
  21. Nicolas PitreDec 18, 2005
  22. Junio C HamanoDec 17, 2005

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.