diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-05-15 08:43:02 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-05-15 07:17:56 -0700 |
| commit | ab8bac8bb6d89f3b3eca2972ad468ca863c9f492 (patch) | |
| tree | a607fb70e5fe950c48c04b024dde02e1b40180c6 /pack-bitmap-write.c | |
| parent | 040b141df39a952af936abf73f4e2fa5fc9954b5 (diff) | |
builtin/config: track "fixed value" option via flags only
We track the "fixed value" option via two separate bits: once via the
global variable `fixed_value`, and once via the CONFIG_FLAGS_FIXED_VALUE
bit in `flags`. This is confusing and may easily lead to issues when one
is not aware that this is tracked via two separate mechanisms.
Refactor the code to use the flag exclusively. We already pass it to all
the required callsites anyway, except for `collect_config()`.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-bitmap-write.c')
0 files changed, 0 insertions, 0 deletions
