summaryrefslogtreecommitdiff
path: root/src/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tree.c')
-rw-r--r--src/tree.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tree.c b/src/tree.c
index 17b3c378d..d2db84055 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -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 {