summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2016-08-08 21:03:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-08-11 19:41:46 (GMT)
commitaaf6c447aabb16ed71345d5baf8b12ced26c5c95 (patch)
tree17b1fb472ebd66829b27d836176d8bb65cc54526 /compat
parentdae197f753c8b3ccdc9c97cfc04f0dbd99a5cc3c (diff)
downloadgit-aaf6c447aabb16ed71345d5baf8b12ced26c5c95.zip
git-aaf6c447aabb16ed71345d5baf8b12ced26c5c95.tar.gz
git-aaf6c447aabb16ed71345d5baf8b12ced26c5c95.tar.bz2
builtin/apply: make parse_whitespace_option() return -1 instead of die()ing
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_whitespace_option() 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 'compat')
0 files changed, 0 insertions, 0 deletions