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

Re: Specifying revisions in the future

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Feb 5, 2012, 20:18 UTC
Message-ID
<vpqipjlf309.fsf@bauges.imag.fr>
In-Reply-To
<jgjkk0$qrg$1@dough.gmane.org>
jpaugh@gmx.us writes:
> Hello.
>
> Is it possible to specify revisions in the future?
You mean, the opposite of <commit>^ or <commit>~n?

AFAIK, there isn't, and there's a good reason for that: <commit>^ is well-defined, it's the first parent of <commit>, and it won't change unless one rewrites this commit.

"the successor of <commit>", OTOH, is not well defined, since there can be several successors, and one can't order them reliably (you can't really know the set of successors, because they can exist in different repositories).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Jakub NarebskiNext: Andreas Schwab
Message 3 of 16 in “Specifying revisions in the future”
  1. jpaugh@gmx.usFeb 4, 2012
  2. Jakub NarebskiFeb 5, 2012
  3. Matthieu MoyFeb 5, 2012
  4. Andreas SchwabFeb 5, 2012
  5. Jakub NarebskiFeb 5, 2012
  6. Andreas SchwabFeb 5, 2012
  7. Jakub NarebskiFeb 5, 2012
  8. Philip OakleyFeb 5, 2012
  9. Andreas SchwabFeb 5, 2012
  10. Miles BaderFeb 6, 2012
  11. Jonathan PaughFeb 7, 2012
  12. Matthieu MoyFeb 6, 2012
  13. Andreas SchwabFeb 6, 2012
  14. Andreas SchwabFeb 5, 2012
  15. Junio C HamanoFeb 5, 2012
  16. Jakub NarebskiFeb 5, 2012

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.