From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 868911FB0D for ; Wed, 25 Nov 2020 23:10:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729482AbgKYXJU (ORCPT ); Wed, 25 Nov 2020 18:09:20 -0500 Received: from pb-smtp1.pobox.com ([64.147.108.70]:56291 "EHLO pb-smtp1.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729187AbgKYXJU (ORCPT ); Wed, 25 Nov 2020 18:09:20 -0500 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 97A55A0016; Wed, 25 Nov 2020 18:09:17 -0500 (EST) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=/ZtXPmWSSPBKijpRMm3//qe2YxU=; b=NleYgl eUkbBbiYWaQJDQXwvP/EqP+jZfgNqP7wRZmIbkkZ4aLgEo9tPoL/NXZ3FMQMS6mn +swzJTGa2TTSxsemMiMkfcUGI9ys/xDN/yEGw9O4on1G1LHrfUNNZ3gL+4YQ8VPA Y9U/CI2Xon0oMT4OKN/nBB9CL8i2NWNeyzvR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=iknsmppEjZ4v3imINkNSpVBp0rvNRfBm F3pXwH6JQt+X6vDWvdlKF0c62sVce0X0bnCl+i3cDm6W7MbePPEieSCFEZ1Bj3X0 6yzJ29RmG21gXsutwxA7+z549uRakpSC999itPiRoY3O+mSIVV2302Yo6peCE2rb oG8q4gewHLQ= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 8E60CA0015; Wed, 25 Nov 2020 18:09:17 -0500 (EST) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.75.7.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 12553A0014; Wed, 25 Nov 2020 18:09:17 -0500 (EST) (envelope-from junio@pobox.com) From: Junio C Hamano To: "Derrick Stolee via GitGitGadget" Cc: git@vger.kernel.org, Jonathan Nieder , Emily Shaffer , Johannes Schindelin , Jeff King , "brian m. carlson" , Martin =?utf-8?Q?=C3=85gren?= , =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason , Derrick Stolee , Eric Sunshine , Derrick Stolee , Derrick Stolee Subject: Re: [PATCH v3 8/8] maintenance: use 'git config --fixed-value' References: <558775f83d7cbf7ad0e2090ab13be404cdf16b24.1606342377.git.gitgitgadget@gmail.com> Date: Wed, 25 Nov 2020 15:09:16 -0800 In-Reply-To: <558775f83d7cbf7ad0e2090ab13be404cdf16b24.1606342377.git.gitgitgadget@gmail.com> (Derrick Stolee via GitGitGadget's message of "Wed, 25 Nov 2020 22:12:56 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 3DE27954-2F73-11EB-B998-D152C8D8090B-77302942!pb-smtp1.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org "Derrick Stolee via GitGitGadget" writes: > From: Derrick Stolee > > 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.