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 */
|
/* Write out the subtree */
|
||||||
written = write_tree(&sub_oid, repo, index, subdir, i);
|
written = write_tree(&sub_oid, repo, index, subdir, i);
|
||||||
if (written < 0) {
|
if (written < 0) {
|
||||||
tree_error("Failed to write subtree", subdir);
|
|
||||||
git__free(subdir);
|
git__free(subdir);
|
||||||
goto on_error;
|
goto on_error;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user