Re: [PATCH v4 5/8] maintenance: add start/stop subcommands
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 10, 2020, 00:13 UTC
- Message-ID
- <xmqqtusuzffv.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20201209191616.GO36751@google.com>
Josh Steadmon <steadmon@google.com> 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.