summaryrefslogtreecommitdiff
path: root/pathspec.c
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2016-08-08 23:03:17 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-11 12:41:47 -0700
commit6e8df314692105e7d3e69f548440e4b817bf3211 (patch)
treea33417bf38a20331e92d67ec5f89d002d7c2cf8d /pathspec.c
parentbuiltin/apply: make build_fake_ancestor() return -1 on error (diff)
downloadtgif-6e8df314692105e7d3e69f548440e4b817bf3211.tar.xz
builtin/apply: make remove_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", remove_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 'pathspec.c')
0 files changed, 0 insertions, 0 deletions