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

Re: [PATCH] completion: use native ZSH array pattern matching

From
Junio C Hamano <gitster@pobox.com>
Date
May 28, 2020, 15:54 UTC
Message-ID
<xmqqd06o3vhy.fsf@gitster.c.googlers.com>
In-Reply-To
<20200528021727.GH1915090@camp.crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
Show 21 quoted lines
> On 2020-05-27 at 06:13:59, Carlo Marcelo Arenas Belón wrote:
>> On Tue, May 26, 2020 at 11:58:34PM +0000, brian m. carlson wrote:
>> > 
>> > This file is necessarily used by both bash and zsh.  Does bash
>> > (including the bash 3 used on macOS) happen to continue to work with
>> > this syntax?
>> 
>> if by that you meant t9902.[150-152] to succeed with macOS bash?:
>> 
>> $ bash --version
>> GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
>> Copyright (C) 2007 Free Software Foundation, Inc.
>> 
>> then I think we can add (on top of master):
>> 
>> Tested-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
>
> Yes, that is what I meant.  I'm glad to know my question has been
> answered and things work.  I'm okay with the patch as it is in that
> case, although I'd give bonus points for mentioning that this syntax
> doesn't regress bash.

True. And we would want to also have tested-by on more recent versions of bash, no?

Previous: brian m. carlsonNext: brian m. carlson
Message 5 of 8 in “completion: use native ZSH array pattern matching”
  1. completion: use native ZSH array pattern matchingMarco Trevisan via GitGitGadget, May 26, 2020
  2. brian m. carlsonMay 26, 2020
  3. Carlo Marcelo Arenas BelónMay 27, 2020
  4. brian m. carlsonMay 28, 2020
  5. Junio C HamanoMay 28, 2020
  6. brian m. carlsonMay 28, 2020
  7. Junio C HamanoMay 28, 2020
  8. Junio C HamanoMay 28, 2020

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.