aboutsummaryrefslogtreecommitdiff
path: root/git-gui/macosx/AppMain.tcl
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-04-09 13:42:54 -0400
committerJunio C Hamano <gitster@pobox.com>2016-04-10 11:14:45 -0700
commit9c14bb08a434570adc9b2f0f37eac66b92d4c87e (patch)
tree7d11eb6dbfb5b706b6d000d2b29e1d16e97206cc /git-gui/macosx/AppMain.tcl
parent8c3ca351cb125c94870d7b8278a7efa1f1474d22 (diff)
downloadgit-9c14bb08a434570adc9b2f0f37eac66b92d4c87e.tar.gz
git-9c14bb08a434570adc9b2f0f37eac66b92d4c87e.tar.xz
git_config_set_multivar_in_file: all non-zero returns are errors
This function is just a thin wrapper for the "_gently" form of the function. But the gently form is designed to feed builtin/config.c, which passes our return code directly to its exit status, and thus uses positive error values for some cases. We check only negative values, meaning we would fail to die in some cases (e.g., a malformed key). This may or may not be triggerable in practice; we tend to use this non-gentle form only when setting internal variables, which would not have malformed keys. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/macosx/AppMain.tcl')
0 files changed, 0 insertions, 0 deletions