summaryrefslogtreecommitdiff
path: root/refs
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2016-08-08 21:03:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-08-11 19:41:47 (GMT)
commitf36538d88b12595d527c60ae1b882c89bb5d1b2a (patch)
tree4928fe9f23bbfb882cc90262d6e498c65f2fafb9 /refs
parent2f5a6d1218de4dfa326ff289b784d3e293b8141f (diff)
downloadgit-f36538d88b12595d527c60ae1b882c89bb5d1b2a.zip
git-f36538d88b12595d527c60ae1b882c89bb5d1b2a.tar.gz
git-f36538d88b12595d527c60ae1b882c89bb5d1b2a.tar.bz2
builtin/apply: make check_apply_state() 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", check_apply_state() should return -1 instead of calling die(). Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs')
0 files changed, 0 insertions, 0 deletions