]> git.ipfire.org Git - thirdparty/git.git/commit - config.c
config: teach git_config_rename_section a file argument
authorJeff King <peff@peff.net>
Thu, 16 Feb 2012 08:04:25 +0000 (03:04 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Feb 2012 15:52:41 +0000 (07:52 -0800)
commit42bd39b57fee80a9fd136f89c7728e640d13964a
treefbff2bdccc7df06fe7c416c44b7b47a6165515e8
parent0a5f57592728e7667d9e60e309f6270db9fdb67b
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>
cache.h
config.c