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

Re: [PATCH] git-tag: Fix -l option to use better shell style globs.

From
Shawn O. Pearce <spearce@spearce.org>
Date
Sep 1, 2007, 05:31 UTC
Message-ID
<20070901053158.GF18160@spearce.org>
In-Reply-To
<46D8F431.70801@gmail.com>
Carlos Rica <jasampler@gmail.com> wrote:
> This patch removes certain behaviour of "git tag -l foo", currently
> listing every tag name having "foo" as a substring.  The same
> thing now could be achieved doing "git tag -l '*foo*'".

Even though this is a behavior change, I think its the right thing to do. The current behavior of searching "*$arg*" is downright annoying and not what most users would expect I think, especially when tools like for-each-ref don't do that.

Then again, I do "*$arg*" in git-gui's revision selection widget. But there its immediately obvious what is happening and anyone I have talked[*1*] to prefers it that way.

*1*: Disclaimer: people I talked to has thus far been limited to
     day-job coworkers.
 
-- 
Shawn.
Previous: Carlos RicaNext: Junio C Hamano
Message 2 of 6 in “git-tag: Fix -l option to use better shell style globs.”
  1. git-tag: Fix -l option to use better shell style globs.Carlos Rica, Sep 1, 2007
  2. Shawn O. PearceSep 1, 2007
  3. Junio C HamanoSep 1, 2007
  4. Junio C HamanoSep 1, 2007
  5. Carlos RicaSep 1, 2007
  6. Carlos RicaSep 1, 2007

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.