mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 17:05:49 +00:00
treebuilder: don't overwrite the error message
This commit is contained in:
parent
53cb87575d
commit
f90391ea5f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user