diff options
author | Christian Couder <christian.couder@gmail.com> | 2016-08-09 00:03:09 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-11 22:41:47 +0300 |
commit | f36538d88b12595d527c60ae1b882c89bb5d1b2a (patch) | |
tree | 4928fe9f23bbfb882cc90262d6e498c65f2fafb9 /apply.h | |
parent | 2f5a6d1218de4dfa326ff289b784d3e293b8141f (diff) |
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 'apply.h')
0 files changed, 0 insertions, 0 deletions