diff options
author | Christian Couder <christian.couder@gmail.com> | 2016-08-08 23:03:09 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-11 12:41:47 -0700 |
commit | f36538d88b12595d527c60ae1b882c89bb5d1b2a (patch) | |
tree | 4928fe9f23bbfb882cc90262d6e498c65f2fafb9 /pack-bitmap.h | |
parent | 2f5a6d1218de4dfa326ff289b784d3e293b8141f (diff) | |
download | git-f36538d88b12595d527c60ae1b882c89bb5d1b2a.tar.gz git-f36538d88b12595d527c60ae1b882c89bb5d1b2a.tar.xz |
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 'pack-bitmap.h')
0 files changed, 0 insertions, 0 deletions