diff --git a/src/scripts/merge_tools/merge_git_then_plumelib.sh b/src/scripts/merge_tools/merge_git_then_plumelib.sh index c06a827be3..492652ed4b 100755 --- a/src/scripts/merge_tools/merge_git_then_plumelib.sh +++ b/src/scripts/merge_tools/merge_git_then_plumelib.sh @@ -53,7 +53,7 @@ esac git-mergetool.sh $all_arg --tool=merge-plumelib # Check if there are still conflicts -diffs=$(git diff --name-only --diff-filter=U) +diffs=$(git diff --name-only --diff-filter=U | sort) if [ -z "$diffs" ]; then git add . git commit -m "Resolved conflicts by calling: git-mergetool.sh $all_arg --tool=merge-plumelib" diff --git a/src/scripts/merge_tools/merge_script_then_plumelib.sh b/src/scripts/merge_tools/merge_script_then_plumelib.sh index f2fa314512..74689e44a4 100755 --- a/src/scripts/merge_tools/merge_script_then_plumelib.sh +++ b/src/scripts/merge_tools/merge_script_then_plumelib.sh @@ -54,7 +54,7 @@ esac git-mergetool.sh $all_arg --tool=merge-plumelib # Check if there are still conflicts -diffs=$(git diff --name-only --diff-filter=U) +diffs=$(git diff --name-only --diff-filter=U | sort) if [ -z "$diffs" ]; then git add . git commit -m "Resolved conflicts by calling: git-mergetool.sh $all_arg --tool=merge-plumelib"