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

Re: [RFD} Use regex's in :/ revision naming machinery

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Apr 6, 2010, 07:55 UTC
Message-ID
<4BBAE904.6010105@viscovery.net>
In-Reply-To
<alpine.LFD.2.00.1004051551180.21411@i5.linux-foundation.org>
Am 4/6/2010 1:00, schrieb Linus Torvalds:
> I never use ':/', and part of it is that it's so horribly cumbersome. I'd 
> _like_ to use it to do things like 
> 
> 	gitk :/slabh..

Rhethoric question: Do you mean history _starting_ at the commit that contains "slabh" or _ending_ at the commit that contains "slabh" followed by two arbitrary characters?

If :/ is pattern-ized in some way, then IMO pattern matching syntax would be more use-friendly than (extended) regular expresssions, particluarly also because the single-character wildcard would be ? and avoid the otherwise overloaded dot.

-- Hannes
Previous: Jeff KingNext: Linus Torvalds
Message 6 of 8 in “[RFD} Use regex's in :/ revision naming machinery”
  1. Linus TorvaldsApr 5, 2010
  2. Junio C HamanoApr 6, 2010
  3. Junio C HamanoApr 6, 2010
  4. Linus TorvaldsApr 6, 2010
  5. Jeff KingApr 6, 2010
  6. Johannes SixtApr 6, 2010
  7. Linus TorvaldsApr 6, 2010
  8. Nazri RamliyApr 7, 2010

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.