config: make the config source const
commit12b23068307d512de7de8f551102f5928ab8b88a
authorPatrick Steinhardt <ps@pks.im>
Wed, 15 May 2024 06:42:06 +0000 (15 08:42 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 May 2024 14:17:53 +0000 (15 07:17 -0700)
treee4a95b97eca0d5cfa8c433846304093dc6fc2c07
parente44b018c5299f2632fcbb079bead00a529546763
config: make the config source const

The `struct git_config_source` passed to `config_with_options()` is
never modified. Let's mark it as `const` to clarify.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c
config.h