diff options
| author | Mica White <botahamec@outlook.com> | 2026-03-30 20:27:33 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-03-30 20:27:33 -0400 |
| commit | ee630350d3c0c28a561b166381d5b75ea8bf209a (patch) | |
| tree | bab2d2322d189e156fe410567126f674e98e09d0 /src/lib.rs | |
| parent | 628dbdaffdf97db4db4e00777dbb3c4072019f64 (diff) | |
Fix bugs in restore-autosave
Diffstat (limited to 'src/lib.rs')
| -rwxr-xr-x[-rw-r--r--] | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs index 839403b..5a6b7df 100644..100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -330,7 +330,7 @@ pub fn merge_commit_with_tree( &commit.tree()?, Some(MergeOptions::new().find_renames(true).patience(true)), )? - .write_tree()?) + .write_tree_to(repository)?) } pub fn save_undo_tree(repository: &Repository, workdir: &Tree<'_>) -> Result<(), TreeError> { |
