Re: [PATCH v3 4/5] repo-settings.c: simplify the setup
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Sep 20, 2021, 12:42 UTC
- Message-ID
- <ddf328f2-30cf-2881-c61f-0698d499ac39@gmail.com>
- In-Reply-To
- <patch-v3-4.5-28286a61162-20210919T084703Z-avarab@gmail.com>
On 9/19/2021 4:47 AM, Ævar Arnfjörð Bjarmason wrote:
> Simplify the setup code in repo-settings.c in various ways, making the > code shorter, easier to read, and requiring fewer hacks to do the same > thing as it did before:
Popping in here to say that I agree this new arrangement is cleaner.
The previous patterns were confusing, and probably led to at least one bug, including one in the builtin FS Monitor shipped with git-for-windows/git [1] where enabling features.experimental overrides core.useBuiltinFSMonitor=false. The newer organization should make it harder for mistakes like that to happen.
Thanks, -Stolee
[1] https://github.com/git-for-windows/git/discussions/3251#discussioncomment-1296896