We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a99baa0 commit 6ace7f8Copy full SHA for 6ace7f8
asyncgit/src/sync/staging/stage_tracked.rs
@@ -51,7 +51,6 @@ pub fn stage_lines(
51
52
idx.id = blob_id;
53
idx.file_size = u32::try_conv(new_content.as_bytes().len())?;
54
- //TODO: can we simply use add_frombuffer?
55
index.add(&idx)?;
56
57
index.write()?;
asyncgit/src/sync/tree.rs
@@ -11,7 +11,7 @@ use std::{
11
};
12
13
/// `tree_files` returns a list of `FileTree`
14
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Clone)]
15
pub struct TreeFile {
16
/// path of this file
17
pub path: PathBuf,
0 commit comments