]> git.99rst.org Git - git.git/commit
scalar: move config setting logic into its own function
authorVictoria Dye <redacted>
Thu, 18 Aug 2022 21:40:50 +0000 (21:40 +0000)
committerJunio C Hamano <redacted>
Fri, 19 Aug 2022 04:35:32 +0000 (21:35 -0700)
commitd934a11c718f35f5593cfb49da994b43e74dd940
tree6ef8723316ac026ac0579498d010dae7009d898d
parent9b24bb9205e62464c09882e626d17710fb62b82d
scalar: move config setting logic into its own function

Create function 'set_scalar_config()' to contain the logic used in setting
Scalar-defined Git config settings, including how to handle reconfiguring &
overwriting existing values. This function allows future patches to set
config values in parts of 'scalar.c' other than 'set_recommended_config()'.

Signed-off-by: Victoria Dye <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/scalar/scalar.c
git clone https://git.99rst.org/PROJECT