Skip to content

Commit

Permalink
Added zdiff3
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-schesch committed Oct 4, 2023
1 parent 4aafb5c commit 2bf17f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/merge_tools/git_hires_merge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export GIT_HIRES_MERGE_NON_INTERACTIVE_MODE=True
attributes_file=".git/info/attributes"
echo "* merge=git-hires-merge" >> "$attributes_file"


git config merge.conflictStyle zdiff3
git merge --no-edit "$branch2"
retVal=$?

Expand Down
3 changes: 3 additions & 0 deletions src/scripts/merge_tools/gitmerge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ strategy=$4

# perform merge
cd "$clone_dir" || exit 1

git checkout "$branch1" --force
git config merge.conflictstyle zdiff3

echo "Running: git merge --no-edit $strategy $branch2"
# shellcheck disable=SC2086
git merge --no-edit $strategy "$branch2"
Expand Down

0 comments on commit 2bf17f8

Please sign in to comment.