diff options
author | Christian Couder <christian.couder@gmail.com> | 2016-08-08 21:03:12 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-11 19:41:47 (GMT) |
commit | 9724e6ff48506323ab897e2d9f8d27febd4d9bb0 (patch) | |
tree | bb5f9a7ba23b6599a499d7f2ea6127e2ecdf4fde /tag.h | |
parent | fef7ba5353095e87b3bcd712fa15eb71e1f53b30 (diff) | |
download | git-9724e6ff48506323ab897e2d9f8d27febd4d9bb0.zip git-9724e6ff48506323ab897e2d9f8d27febd4d9bb0.tar.gz git-9724e6ff48506323ab897e2d9f8d27febd4d9bb0.tar.bz2 |
builtin/apply: make parse_traditional_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_traditional_patch() 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 'tag.h')
0 files changed, 0 insertions, 0 deletions