summaryrefslogtreecommitdiff
path: root/test-revision-walking.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-11-24 13:36:51 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-12-17 10:57:53 -0800
commit4616918013bf4fb3ce61175702d963a1fdd87f84 (patch)
tree5ae898c80aeacb1a2046fc507d42e84f6bf07e62 /test-revision-walking.c
parentGit 1.8.5 (diff)
downloadtgif-4616918013bf4fb3ce61175702d963a1fdd87f84.tar.xz
unpack-trees: propagate errors adding entries to the index
When unpack_trees tries to write an entry to the index, add_index_entry may report an error to stderr, but we ignore its return value. This leads to us returning a successful exit code for an operation that partially failed. Let's make sure to propagate this code. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-revision-walking.c')
0 files changed, 0 insertions, 0 deletions