From: Junio C Hamano Date: Thu, 10 Dec 2020 00:13:08 GMT Subject: Re: [PATCH v4 5/8] maintenance: add start/stop subcommands Message-ID: In-Reply-To: <20201209191616.GO36751@google.com> Josh Steadmon writes: > # start registers the repo > - git config --get --global maintenance.repo "$(pwd)" && > + git config --get --global --fixed-value maintenance.repo "$(pwd)" && The rewrite makes it better than the original, but I wonder why the original did not do a more obvious git config --get maintenance.repo >actual && pwd >expect && test_cmp expect actual > # stop does not unregister the repo > - git config --get --global maintenance.repo "$(pwd)" && > + git config --get --global --fixed-value maintenance.repo "$(pwd)" && Ditto.