diff options
author | Jeff King <peff@peff.net> | 2014-11-24 13:36:51 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-17 10:57:53 -0800 |
commit | 4616918013bf4fb3ce61175702d963a1fdd87f84 (patch) | |
tree | 5ae898c80aeacb1a2046fc507d42e84f6bf07e62 /t/t4013/diff.diff-tree_--pretty=oneline_--root_--patch-with-stat_initial | |
parent | Git 1.8.5 (diff) | |
download | tgif-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 't/t4013/diff.diff-tree_--pretty=oneline_--root_--patch-with-stat_initial')
0 files changed, 0 insertions, 0 deletions