feature request: partial-context diff
patrickdepinguin at gmail.com
patrickdepinguin at gmail.com
Thu Feb 12 11:01:16 EST 2015
Hi,
In Kallithea (kallithea-scm.org) we are using Mergely to display diffs of source code as side-by-side diff.
Currently, these diffs always show the complete file, even though maybe only one line has changed.
A nice feature would therefore be that the shown diff would be limited to the lines that changed with some context, just like a unified diff but in side-by-side mode. A button could then allow the user to expand the context by some amount of lines, or to expand to the full-file context.
The core of this behavior is already implemented in jsdifflib http://cemerick.github.io/jsdifflib/demo.html, where you can specify a context size.
What do you think about this request?
Would it be difficult to implement in Mergely?
Thanks,
Thomas
More information about the kallithea-general
mailing list