diff options
author | Sven Strickroth <sven@cs-ware.de> | 2015-08-14 22:21:17 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-14 13:49:41 -0700 |
commit | 54d160ec0deebfa7bf0cfc499c69ff5364b118c6 (patch) | |
tree | a8177fc47f87081642ea8736839bfec0b74465cd /Documentation/git-receive-pack.txt | |
parent | Sync with 2.4.8 (diff) | |
download | tgif-54d160ec0deebfa7bf0cfc499c69ff5364b118c6.tar.xz |
config: close config file handle in case of error
When updating an existing configuration file, we did not always
close the filehandle that is reading from the current configuration
file when we encountered an error (e.g. when unsetting a variable
that does not exist).
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-receive-pack.txt')
0 files changed, 0 insertions, 0 deletions