summaryrefslogtreecommitdiff
path: root/archive.h
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2016-08-08 21:03:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-08-11 19:41:47 (GMT)
commit69e1609f812d5accc1b54f737faba354f5bd85db (patch)
treee3afa0b617d6130d7475e0926742701cdac44736 /archive.h
parenta902edceebd0a25a307163f050326bda8f494204 (diff)
downloadgit-69e1609f812d5accc1b54f737faba354f5bd85db.zip
git-69e1609f812d5accc1b54f737faba354f5bd85db.tar.gz
git-69e1609f812d5accc1b54f737faba354f5bd85db.tar.bz2
builtin/apply: make add_index_file() 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", add_index_file() 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 'archive.h')
0 files changed, 0 insertions, 0 deletions