diff --git a/README.md b/README.md index 17aacf69..cfa34418 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ # light = true [merge] - conflictstyle = diff3 + conflictstyle = zdiff3 ``` Delta has many features and is very customizable; please see the [user manual](https://dandavison.github.io/delta/). diff --git a/manual/src/get-started.md b/manual/src/get-started.md index 2153b0db..50d07dec 100644 --- a/manual/src/get-started.md +++ b/manual/src/get-started.md @@ -17,5 +17,5 @@ # light = true [merge] - conflictstyle = diff3 + conflictstyle = zdiff3 ``` diff --git a/manual/src/merge-conflicts.md b/manual/src/merge-conflicts.md index a6c30568..e593cddb 100644 --- a/manual/src/merge-conflicts.md +++ b/manual/src/merge-conflicts.md @@ -1,13 +1,14 @@ # Merge conflicts -Consider setting +Consider setting [`merge.conflictStyle`](https://git-scm.com/docs/git-config#Documentation/git-config.txt-mergeconflictStyle) to `zdiff3`: ```gitconfig [merge] - conflictstyle = diff3 + conflictStyle = zdiff3 ``` -With that setting, when a merge conflict is encountered, delta will display diffs between the ancestral commit and each of the two merge parents: +With that setting, when a merge conflict is encountered, Git will display merge conflicts with the contents of the merge base as well. +delta will then display this as two diffs, from the ancestor to each side of the conflict: