From f90391ea5fdcd5ef972958ac375d8223a5045cc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Thu, 18 Apr 2013 14:47:54 +0200 Subject: [PATCH] treebuilder: don't overwrite the error message --- src/tree.c | 1 - 1 file changed, 1 deletion(-) 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 {