summaryrefslogtreecommitdiff
path: root/advice.h
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2016-08-08 23:03:01 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-11 12:41:46 -0700
commit3bee345d7b6c7d95e9585b224320689979a58f9e (patch)
treeea7236e8826bb0259f8018c3469e88ac91467d27 /advice.h
parentbuiltin/apply: make apply_patch() return -1 or -128 instead of die()ing (diff)
downloadtgif-3bee345d7b6c7d95e9585b224320689979a58f9e.tar.xz
builtin/apply: read_patch_file() return -1 instead of die()ing
To libify `git apply` functionality we have to signal errors to the caller instead of die()ing. Let's do that by returning -1 instead of die()ing in read_patch_file(). Helped-by: Stefan Beller <sbeller@google.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.h')
0 files changed, 0 insertions, 0 deletions