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

Re: The meaning of x~0 and x~ as rev-spec.

From
SOSergei Organov <osv@javad.com>
Date
Mar 14, 2008, 17:21 UTC
Message-ID
<87zlt1mdb9.fsf@osv.gnss.ru>
In-Reply-To
<7vwso5p92q.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
> Sergei Organov <osv@javad.com> writes:
>
>> Testing suggests that <name>~0 and <name>~ are the same and are just
>> synonyms for <name> as rev-specs. Is that correct? Is that by design, or
>> by accident?
>
> sed -n -e '/name~3/,/x = 0;/p' sha1_name.c
OK, I'll send a patch for documentation.
-- Sergei.
Previous: Junio C Hamano
Message 3 of 3 in “The meaning of x~0 and x~ as rev-spec.”
  1. Sergei OrganovMar 14, 2008
  2. Junio C HamanoMar 14, 2008
  3. Sergei OrganovMar 14, 2008

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.