From: Christian Couder Date: Mon, 8 Aug 2016 21:03:06 +0000 (+0200) Subject: builtin/apply: make parse_ignorewhitespace_option() return -1 instead of die()ing X-Git-Tag: v2.14.0-rc0~29^2~22 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f95fdc256b4732e6363823daa707ea6058e6db8e?hp=f95fdc256b4732e6363823daa707ea6058e6db8e builtin/apply: make parse_ignorewhitespace_option() return -1 instead of die()ing To libify `git apply` functionality we have to signal errors to the caller instead of die()ing. To do that in a compatible manner with the rest of the error handling in "builtin/apply.c", parse_ignorewhitespace_option() should return -1 instead of calling die(). Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano ---