Skip to content

Commit

Permalink
Add vimdiff2 screenshot and note
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteinge committed Dec 16, 2020
1 parent 6f280ab commit 144a393
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 2020/mergetools.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,17 @@ a mergetool.

![](./mergetools/vimdiff-three-way.png)

The newer vimdiff2 also get it's wrong. Although the differences highlighting
is much, much more clear it still diffs `LOCAL` against `REMOTE` which forces
you to re-resolve conflicts that Git has already resolved.

![](./mergetools/vimdiff2-diffoff.png)

(Depending on your Git version it will open two or three windows instead of the
default four, but in all cases it diffs `LOCAL` against `REMOTE`. vimdiff2
pictured above with `:diffoff` on the middle pane to showcase both the
two-window and three-window variants.)

### VS Code

So very, very close! A two-way diff between each side of `MERGED`! Exactly what
Expand Down
Binary file added 2020/mergetools/vimdiff2-diffoff.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 144a393

Please sign in to comment.