Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Matt Hunter" <m@lfurio.us>
Cc: <git@vger.kernel.org>,  "Windl, Ulrich" <u.windl@ukr.de>
Subject: Re: [PATCH v2] gitignore: rewrite wildcard description
Date: Sat, 28 Nov 2026 11:03:36 -0800	[thread overview]
Message-ID: <xmqq8q2cwzg7.fsf@gitster.g> (raw)
In-Reply-To: <DN6NOUP5N3QB.1F84PP4O8PYYW@lfurio.us> (Matt Hunter's message of "Sat, 28 Nov 2026 02:13:06 -0500")

"Matt Hunter" <m@lfurio.us> writes:

> On Tue Nov 3, 2026 at 5:40 PM EST, Junio C Hamano wrote:
>> The documentation for '.gitignore' makes reference to fnmatch(3) and
>> FNM_PATHNAME to describe how an asterisk "*" and a question mark "?"
>> behave.  Even though it spells out that these wildcard characters
>> do not match a slash, it does not say if an asterisk matches an
>> empty string (it does).
>>
>> Rewrite the section so that the readers would get a more complete
>> picture without requiring them to know what fnmatch(3) and glob(7)
>> says.
>>
>> Signed-off-by: Junio C Hamano <gitster@pobox.com>
>> ---
>
> I see this patch has been stalled for going on a month with no feedback.
>
> However the rewritten section, with its new explicit wording, looks good
> and clear to me.

Thanks for a reminder.  I re-read it as if it were a new submission by
somebody else, as the context that led to the patch has been all paged
out of my brain ;-), and found a few nits.  I'll send out a v3 now.

  reply	other threads:[~2026-11-28 19:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-30 10:46 Q: .gitignore and asterisk "*" Windl, Ulrich
2026-10-30 16:59 ` Junio C Hamano
2026-11-03  7:33   ` Tuomas Ahola
2026-11-03 12:00     ` [EXT] " Windl, Ulrich
2026-11-03 17:13     ` Junio C Hamano
2026-11-03 17:29       ` Tuomas Ahola
2026-11-03 22:40   ` [PATCH v2] gitignore: rewrite wildcard description Junio C Hamano
2026-11-28  7:13     ` Matt Hunter
2026-11-28 19:03       ` Junio C Hamano [this message]
2026-11-28 19:01     ` [PATCH v3] " Junio C Hamano
2026-11-29  9:16       ` Matt Hunter
2026-11-29 19:50         ` Junio C Hamano
2026-11-30  4:53           ` Matt Hunter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqq8q2cwzg7.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=m@lfurio.us \
    --cc=u.windl@ukr.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox