summaryrefslogtreecommitdiff
path: root/t/t1014-read-tree-confusing.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-11-24 18:36:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-12-17 18:57:53 (GMT)
commit4616918013bf4fb3ce61175702d963a1fdd87f84 (patch)
tree5ae898c80aeacb1a2046fc507d42e84f6bf07e62 /t/t1014-read-tree-confusing.sh
parentd2446dfd7f3b3f8948142cfb07a0270e2497d93f (diff)
downloadgit-4616918013bf4fb3ce61175702d963a1fdd87f84.zip
git-4616918013bf4fb3ce61175702d963a1fdd87f84.tar.gz
git-4616918013bf4fb3ce61175702d963a1fdd87f84.tar.bz2
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 't/t1014-read-tree-confusing.sh')
0 files changed, 0 insertions, 0 deletions