aboutsummaryrefslogtreecommitdiff
path: root/git-gui
diff options
context:
space:
mode:
authorSven Strickroth <sven@cs-ware.de>2015-08-14 22:21:17 +0200
committerJunio C Hamano <gitster@pobox.com>2015-08-14 13:49:41 -0700
commit54d160ec0deebfa7bf0cfc499c69ff5364b118c6 (patch)
treea8177fc47f87081642ea8736839bfec0b74465cd /git-gui
parente88b8586bfd967cbfec62359cf4c53ec65848054 (diff)
downloadgit-54d160ec0deebfa7bf0cfc499c69ff5364b118c6.tar.gz
git-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 'git-gui')
0 files changed, 0 insertions, 0 deletions