call this function because it makes it work better

This commit is contained in:
Quaternions 2024-01-11 20:46:13 -08:00
parent 67048cccf6
commit 9dc67a22c1

View File

@ -758,6 +758,7 @@ async fn write_commit(config:WriteCommitConfig,b:Result<AResult<(AssetVersion,De
}else{ }else{
tree_index.update_all([config.output_folder.as_path()].iter(),None)?; tree_index.update_all([config.output_folder.as_path()].iter(),None)?;
} }
tree_index.write()?;
tree_index.write_tree()? tree_index.write_tree()?
}; };
let tree=repo.find_tree(tree_id)?; let tree=repo.find_tree(tree_id)?;