Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ralf Jung <post@ralfj.de>
  • Loading branch information
LMG and RalfJung committed Sep 27, 2023
1 parent cf71202 commit 49d5e54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions josh-core/src/history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ pub fn unapply_filter(
// pushed, we can ignore those conflicts. To do that we perform the merge
// twice: Once with the "ours" and once with the "theirs" merge file favor.
// After that we do "unapply()" on both resulting trees, which will replace
// The files selected by the filter with the content being pushed.
// If our assumption was correct and all conflicts where in filtered files
// the files selected by the filter with the content being pushed.
// If our assumption was correct and all conflicts were in filtered files,
// both resulting trees will be the same and we can pick the result to proceed.

let mut mergeopts = git2::MergeOptions::new();
Expand Down

0 comments on commit 49d5e54

Please sign in to comment.