diff --git a/src/main.rs b/src/main.rs index feb5c27..dac7c2a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -950,10 +950,6 @@ async fn write_commit(config:WriteCommitConfig,b:Result(), Err(e)=>println!("tree_index.update_all error: {}",e), } - if tree_index.len()==0{ - println!("tree_index.len()==0"); - return Ok(()); - } tree_index.write()?; tree_index.write_tree()? };