Re: [PATCH v3 3/3] gc: replace config subprocesses with API calls
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 26, 2022, 19:27 UTC
- Message-ID
- <xmqq35cendfq.fsf@gitster.g>
- In-Reply-To
- <260d7bee36e1af2f6a6a8791d293402e97a502e6.1664218087.git.gitgitgadget@gmail.com>
"Derrick Stolee via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 5 quoted lines
> From: Derrick Stolee <derrickstolee@github.com> > > The 'git maintenance [un]register' commands set or unset the multi- > valued maintenance.repo config key with the absolute path of the current > repository. These are set in the global config file.
OK. This step is new but it looks reasonable.
Embarrassingly sadly, we open, rewrite, and close the configuration file for each of these "proper API calls", so the IO load is not reduced, even though we do not have to spawn extra processes ;-)
All three patches queued. Thanks.