summaryrefslogtreecommitdiff
path: root/pack-check.c
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2020-11-25 22:12:49 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-11-25 14:43:47 -0800
commit504ee1290e38fb1ff0d76f940b124e21ab57a99f (patch)
tree804987ae0314b8243a4ec1c7d84e7dc6dbb2dd3b /pack-check.c
parentSixth batch (diff)
downloadtgif-504ee1290e38fb1ff0d76f940b124e21ab57a99f.tar.xz
config: convert multi_replace to flags
We will extend the flexibility of the config API. Before doing so, let's take an existing 'int multi_replace' parameter and replace it with a new 'unsigned flags' parameter that can take multiple options as a bit field. Update all callers that specified multi_replace to now specify the CONFIG_FLAGS_MULTI_REPLACE flag. To add more clarity, extend the documentation of git_config_set_multivar_in_file() including a clear labeling of its arguments. Other config API methods in config.h require only a change of the final parameter from 'int' to 'unsigned'. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-check.c')
0 files changed, 0 insertions, 0 deletions