From: Christian Couder Date: Mon, 8 Aug 2016 21:03:17 +0000 (+0200) Subject: builtin/apply: make remove_file() return -1 on error X-Git-Tag: v2.14.0-rc0~29^2~11 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/6e8df314692105e7d3e69f548440e4b817bf3211?hp=6e8df314692105e7d3e69f548440e4b817bf3211 builtin/apply: make remove_file() return -1 on error 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", remove_file() should return -1 instead of calling die(). Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano ---