summaryrefslogtreecommitdiff
path: root/split-index.c
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2016-08-08 21:03:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-08-11 19:41:46 (GMT)
commit3bee345d7b6c7d95e9585b224320689979a58f9e (patch)
treeea7236e8826bb0259f8018c3469e88ac91467d27 /split-index.c
parentf07a9f7643c8b261b5d03d9c288c44916277f05e (diff)
downloadgit-3bee345d7b6c7d95e9585b224320689979a58f9e.zip
git-3bee345d7b6c7d95e9585b224320689979a58f9e.tar.gz
git-3bee345d7b6c7d95e9585b224320689979a58f9e.tar.bz2
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 'split-index.c')
0 files changed, 0 insertions, 0 deletions