author | Jeff King <peff@peff.net> | |
Thu, 16 Feb 2012 08:04:25 +0000 (03:04 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 17 Feb 2012 15:52:41 +0000 (07:52 -0800) | ||
commit | 42bd39b57fee80a9fd136f89c7728e640d13964a | |
tree | fbff2bdccc7df06fe7c416c44b7b47a6165515e8 | tree | snapshot |
parent | 0a5f57592728e7667d9e60e309f6270db9fdb67b | commit | diff |
config: teach git_config_rename_section a file argument
The other config-writing functions (git_config_set and
git_config_set_multivar) each have an -"in_file" version to
write a specific file. Let's add one for rename_section,
with the eventual goal of moving away from the magic
config_exclusive_filename global.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The other config-writing functions (git_config_set and
git_config_set_multivar) each have an -"in_file" version to
write a specific file. Let's add one for rename_section,
with the eventual goal of moving away from the magic
config_exclusive_filename global.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h | diff | blob | history | |
config.c | diff | blob | history |