mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-06 01:27:24 +03:00
fix: pass diff_opts
parameter to diff_tree_to_tree
function call in trees
function
This commit is contained in:
parent
a6c6c90757
commit
30e6026785
@ -62,7 +62,7 @@ pub fn trees(
|
||||
.show_binary(true)
|
||||
.show_untracked_content(true);
|
||||
|
||||
let diff = repository.diff_tree_to_tree(Some(old_tree), Some(new_tree), None)?;
|
||||
let diff = repository.diff_tree_to_tree(Some(old_tree), Some(new_tree), Some(&mut diff_opts))?;
|
||||
|
||||
hunks_by_filepath(repository, &diff)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user