summaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2016-08-08 21:03:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-08-11 19:41:47 (GMT)
commitccceb7bb13a37b1834bc1c455e40abc710997dd3 (patch)
tree7c768fa5307e606ab70dc8b877c6aa49b08ef34b /gitweb
parent434389deb193016464702b25af2b79bb5c6fd098 (diff)
downloadgit-ccceb7bb13a37b1834bc1c455e40abc710997dd3.zip
git-ccceb7bb13a37b1834bc1c455e40abc710997dd3.tar.gz
git-ccceb7bb13a37b1834bc1c455e40abc710997dd3.tar.bz2
builtin/apply: make write_out_results() 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", write_out_results() should return -1 instead of calling exit(). Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb')
0 files changed, 0 insertions, 0 deletions