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

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

From
Jeff King <peff@peff.net>
Date
Apr 6, 2010, 04:31 UTC
Message-ID
<20100406043133.GA3901@coredump.intra.peff.net>
In-Reply-To
<alpine.LFD.2.00.1004051551180.21411@i5.linux-foundation.org>
On Mon, Apr 05, 2010 at 04:00:59PM -0700, Linus Torvalds wrote:
> So this is very much debatable, but I'm including a patch for the 
> discussion to start.

FWIW, this came up quite a while ago and people generally seemed to think it was a good idea, but the patch from Dscho (cc'd) never made it upstream.

The old thread is here:
  http://article.gmane.org/gmane.comp.version-control.git/50010

Personally, I think regex matching makes :/ a bit more usable, though since that thread I have found I don't use :/ all that often (instead needing to pick through the results of --grep looking for the commit in question, at which point I just cut-and-paste the commit sha1). I agree as was suggested elsewhere in the thread that searching from HEAD would help.

-Peff
Previous: Linus TorvaldsNext: Johannes Sixt
Message 5 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.