Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-04-18 16:47:54 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2013-04-18 16:48:40 +0400
commitf90391ea5fdcd5ef972958ac375d8223a5045cc5 (patch)
tree543b4ed80cc072f4aef8bc5f5e2fb928068d039e /src/tree.c
parent53cb87575dc2982d23038e87e87824f8b20fe4be (diff)
treebuilder: don't overwrite the error message
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 {