summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/1.7.9.txt
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2012-02-16 03:04:05 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-02-17 07:52:41 -0800
commit0a5f57592728e7667d9e60e309f6270db9fdb67b (patch)
tree7d857ff695fae308375d680af8f3356ba299a65c /Documentation/RelNotes/1.7.9.txt
parentconfig: copy the return value of prefix_filename (diff)
downloadtgif-0a5f57592728e7667d9e60e309f6270db9fdb67b.tar.xz
config: teach git_config_set_multivar_in_file a default path
The git_config_set_multivar_in_file function takes a filename argument to specify the file into which the values should be written. Currently, this value must be non-NULL. Callers which want to write to the default location must use the regular, non-"in_file" version, which will either write to config_exclusive_filename, or to the repo config if the exclusive filename is NULL. Let's migrate the "default to using repo config" logic into the "in_file" form. That will let callers get the same default-if-NULL behavior as one gets with config_exclusive_filename, but without having to use the global variable. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.9.txt')
0 files changed, 0 insertions, 0 deletions