Skip to content

Commit

Permalink
Also add to isUnfinishedPatch
Browse files Browse the repository at this point in the history
  • Loading branch information
okx-code committed Aug 17, 2024
1 parent 1ae0e4f commit 0b0b2ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class PatchApplier(
}

git("update-index", "--refresh").executeSilently()
if (git("diff-index", "--quiet", "HEAD", "--").runSilently() == 0) {
if (git("diff-index", "--diff-algorithm=myers", "--quiet", "HEAD", "--").runSilently() == 0) {
return git("log", unmappedBranch, "-1", "--pretty=%B").getText().trim() !=
git("log", remappedBranch, "-1", "--pretty=%B").getText().trim()
}
Expand Down

0 comments on commit 0b0b2ee

Please sign in to comment.