Skip to content

Commit

Permalink
Merge pull request #4761 from gitbutlerapp/Correct-the-tree-sdie-whic…
Browse files Browse the repository at this point in the history
…h-we-write

Correct the tree side which we write
  • Loading branch information
Caleb-T-Owens authored Aug 26, 2024
2 parents b287516 + e463e2b commit 68d4768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/gitbutler-repo/src/rebase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ fn commit_conflicted_cherry_result<'repository>(
// create a treewriter
let mut tree_writer = repository.treebuilder(None)?;

let side0 = repository.find_real_tree(&head, ConflictedTreeKey::Ours)?;
let side0 = repository.find_real_tree(&head, Default::default())?;
let side1 = repository.find_real_tree(&to_rebase, ConflictedTreeKey::Theirs)?;

// save the state of the conflict, so we can recreate it later
Expand Down

0 comments on commit 68d4768

Please sign in to comment.