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

Re: [PATCH 2/3] sh-setup: add new peel_committish() helper

From
Philip Oakley <philipoakley@iee.org>
Date
Jun 14, 2013, 16:44 UTC
Message-ID
<02E12EC628804EACABF52ACDFE2BDCF4@PhilipOakley>
In-Reply-To
<CALkWK0kCOJTRTQ-eKbOUnD18xWFqMnYi385aN=+_H4CoLZSLhQ@mail.gmail.com>
From: "Ramkumar Ramachandra" <artagnon@gmail.com>
Sent: Friday, June 14, 2013 5:18 PM
Show 7 quoted lines
> Philip Oakley wrote:
>> Is there a proper name for this style of revision specification? I've 
>> been
>> letting this 'style' wash over me in the hope that I'd understand
>> eventually, but it hasn't.
>
> See gitrevisions(7).  None of them have any names.
... which is a shame...
Show 6 quoted lines
>
>> Loking at git-rev-parse I now see that it might be the 'Commit 
>> Message
>> Regex' rev specifier.
>
> Did you just invent that term?  I couldn't find any mentions of it.

Yep, hence the 'it might be'. Maybe I missed a word and should have written 'it might be called' ;-)

It would be useful to have some descriptive names for these unusual (uncommon) methods. There's already the "pathspec :(glob) syntax".

Philip 
Previous: Ramkumar RamachandraNext: Ramkumar Ramachandra
Message 6 of 10 in “Get rebase to work with :/foomery committish”
  1. 0/3 Get rebase to work with :/foomery committishRamkumar Ramachandra, Jun 14, 2013
  2. 1/3 t/rebase: add failing tests for a peculiar revisionRamkumar Ramachandra, Jun 14, 2013
  3. 2/3 sh-setup: add new peel_committish() helperRamkumar Ramachandra, Jun 14, 2013
  4. Philip OakleyJun 14, 2013
  5. Ramkumar RamachandraJun 14, 2013
  6. Philip OakleyJun 14, 2013
  7. 3/3 rebase: use peel_committish() where appropriateRamkumar Ramachandra, Jun 14, 2013
  8. Junio C HamanoJun 14, 2013
  9. Ramkumar RamachandraJun 15, 2013
  10. Junio C HamanoJun 17, 2013

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.