mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 01:51:57 +03:00
🔨 Refactor repository diffing
- Update repository diffs to include untracked content - Recurse into untracked directories - Include ignored files in diffs [src-tauri/src/repositories/repository.rs] - Include untracked content in diffs - Recurse into untracked directories - Include ignored files in diffs
This commit is contained in:
parent
00d5933c20
commit
2b71cfd2ef
@ -173,6 +173,7 @@ impl Repository {
|
||||
let mut opts = DiffOptions::new();
|
||||
opts.recurse_untracked_dirs(true)
|
||||
.include_untracked(true)
|
||||
.show_untracked_content(true)
|
||||
.include_ignored(true);
|
||||
|
||||
let diff = repo.diff_tree_to_workdir(Some(&tree), Some(&mut opts))?;
|
||||
|
Loading…
Reference in New Issue
Block a user