Files
git/builtin
Christian Couder dae197f753 builtin/apply: make parse_single_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_single_patch() should return a negative
integer instead of calling die().

Let's do that by using error() and let's adjust the related test
cases accordingly.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-08-11 12:41:46 -07:00
..
2016-06-07 17:43:39 -07:00
2016-07-25 14:13:45 -07:00
2016-07-25 14:13:32 -07:00
2016-07-13 11:24:10 -07:00
2016-02-26 13:37:16 -08:00
2015-11-20 08:02:05 -05:00
2016-07-25 14:13:33 -07:00
2016-07-28 10:34:42 -07:00
2016-07-13 11:24:12 -07:00
2016-07-13 11:24:18 -07:00
2016-05-09 12:29:08 -07:00
2016-06-17 15:46:10 -07:00
2016-07-19 13:22:15 -07:00
2016-02-10 14:20:08 -08:00
2015-10-21 15:59:34 -07:00
2016-07-19 13:22:23 -07:00
2016-02-26 13:37:16 -08:00
2016-07-13 11:24:10 -07:00
2016-02-26 13:37:25 -08:00
2016-07-25 14:13:33 -07:00
2016-07-13 11:24:10 -07:00
2015-10-05 13:20:08 -07:00
2016-07-19 13:22:16 -07:00
2016-07-25 14:13:36 -07:00
2016-04-29 12:59:09 -07:00
2016-07-28 10:34:42 -07:00