summaryrefslogtreecommitdiff
path: root/diffcore-pickaxe.c
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2016-08-08 23:03:12 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-11 12:41:47 -0700
commit9724e6ff48506323ab897e2d9f8d27febd4d9bb0 (patch)
treebb5f9a7ba23b6599a499d7f2ea6127e2ecdf4fde /diffcore-pickaxe.c
parentbuiltin/apply: make apply_all_patches() return 128 or 1 on error (diff)
downloadtgif-9724e6ff48506323ab897e2d9f8d27febd4d9bb0.tar.xz
builtin/apply: make parse_traditional_patch() return -1 on error
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", parse_traditional_patch() 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 'diffcore-pickaxe.c')
0 files changed, 0 insertions, 0 deletions