Commit f90391ea by Carlos Martín Nieto

treebuilder: don't overwrite the error message

parent 53cb8757
......@@ -525,7 +525,6 @@ static int write_tree(
/* Write out the subtree */
written = write_tree(&sub_oid, repo, index, subdir, i);
if (written < 0) {
tree_error("Failed to write subtree", subdir);
git__free(subdir);
goto on_error;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment