summaryrefslogtreecommitdiff
path: root/builtin/rev-list.c
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2016-09-04 22:18:19 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-07 12:29:53 -0700
commit603752a88df398cbe6cad449b9fbd49aa28dfa20 (patch)
tree7a1b3bd479d4bf224ddb17dc0d5dd539e67a7c90 /builtin/rev-list.c
parentbuiltin/apply: make try_create_file() return -1 on error (diff)
downloadtgif-603752a88df398cbe6cad449b9fbd49aa28dfa20.tar.xz
builtin/apply: make create_one_file() return -1 on error
To libify `git apply` functionality we have to signal errors to the caller instead of exit()ing. To do that in a compatible manner with the rest of the error handling in "builtin/apply.c", create_one_file() should return -1 instead of calling exit(). Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/rev-list.c')
0 files changed, 0 insertions, 0 deletions