summaryrefslogtreecommitdiff
path: root/worktree.c
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2016-08-08 23:03:18 +0200
committerJunio C Hamano <gitster@pobox.com>2016-08-11 12:41:47 -0700
commita902edceebd0a25a307163f050326bda8f494204 (patch)
tree8769abd10e4cc3e0d8cf9605c6976771be1c6c52 /worktree.c
parent6e8df314692105e7d3e69f548440e4b817bf3211 (diff)
downloadgit-a902edceebd0a25a307163f050326bda8f494204.tar.gz
builtin/apply: make add_conflicted_stages_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_conflicted_stages_file() should return -1 instead of calling die(). 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 'worktree.c')
0 files changed, 0 insertions, 0 deletions