summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2018-07-17 06:54:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-07-17 18:19:45 (GMT)
commitfec2ed21871c73d5212f5c8843d250eb7d5a649c (patch)
tree7452a86774cffbb532bdabd4a3ae44b58824421e /git-compat-util.h
parent3c426eccc29e38301774e90adeea336642826b0c (diff)
downloadgit-fec2ed21871c73d5212f5c8843d250eb7d5a649c.zip
git-fec2ed21871c73d5212f5c8843d250eb7d5a649c.tar.gz
git-fec2ed21871c73d5212f5c8843d250eb7d5a649c.tar.bz2
gc: exit with status 128 on failure
A value of -1 returned from cmd_gc gets propagated to exit(), resulting in an exit status of 255. Use die instead for a clearer error message and a controlled exit. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
0 files changed, 0 insertions, 0 deletions