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