解决TODO&创建TODO

This commit is contained in:
HouXiaoxuan
2023-12-21 19:15:43 +08:00
parent c54f7896f4
commit 526210b1db
4 changed files with 25 additions and 21 deletions

View File

@@ -91,7 +91,7 @@ impl Tree {
let file_entries: Vec<PathBuf> = index
.get_tracked_files()
.iter_mut()
.map(|file| util::to_root_relative_path(file))
.map(|file| util::to_workdir_relative_path(file))
.collect();
store_path_to_tree(&file_entries, "".to_string().into())