Unified diff in CodeMirror (from Gerrit ?)

Hi there

Recently, Gerrit started to test a unified diff view based on CodeMirror. See the thread here:

https://groups.google.com/forum/#!searchin/repo-discuss/codemirror/repo-discuss/qnkhjg_ebGM/vsIB7jEEBgAJ

You can see a sample here (from the changeset itself):

https://gerrit-review.googlesource.com/#/c/49171/28/gerrit-gwtui/src/main/java/com/google/gerrit/client/Dispatcher.java,unified

Reading the CodeMirror doc, I don’t see an easy way to do it right now. The merge addon seems to only support side-by-side diff. Am I missing something?

Nope, you’re not missing something. A merge interface like this would work very differently, and no such thing exists for CodeMirror, as far as I’m aware of.