Re: [PATCH v3 8/8] maintenance: use 'git config --fixed-value'
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 25, 2020, 23:09 UTC
- Message-ID
- <xmqq360xc9ur.fsf@gitster.c.googlers.com>
- In-Reply-To
- <558775f83d7cbf7ad0e2090ab13be404cdf16b24.1606342377.git.gitgitgadget@gmail.com>
"Derrick Stolee via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 10 quoted lines
> From: Derrick Stolee <dstolee@microsoft.com> > > When a repository's leading directories contain regex metacharacters, > the config calls for 'git maintenance register' and 'git maintenance > unregister' are not careful enough. Use the new --fixed-value option > to direct the config machinery to use exact string matches. This is a > more robust option than escaping these arguments in a piecemeal fashion. > > For the test, require that we are not running on Windows since the '+' > and '*' characters are not allowed on that filesystem.
Thanks.
I was hoping there would be some byte we could use, but it seems "a[]b" would not work if we go back beyond VFAT or NTFS. !MINGW it is, then.