jj/testing
Yuya Nishihara 0b9d23c3ad cli: add option to generate textual diff by external command
This is basic implementation. There's no config knob to enable the external
diff command by default. It reuses the merge-tools table because that's how
external diff/merge commands are currently configured. We might want to
reorganize them in #1285.

If you run "jj diff --tool meld", GUI diff will open and jj will wait for
meld to quit. This also applies to "jj log -p". The "diff --tool gui" behavior
is somewhat useful, but "log -p --tool gui" wouldn't. We might want some flag
to mark the tool output can't be streamed.

Another thing to consider is tools that can't generate directory diffs. Git
executes ext-diff tool per file, but we don't. Difftastic can compare
directories, and doing that should be more efficient since diffs can be
computed in parallel (at the expense of unsorted output.)

Closes #1886
2023-08-03 13:53:37 +09:00
..
bench-revsets-git.txt revsets: allow :: as synonym for : 2023-07-28 22:30:40 -07:00
fake-diff-editor.rs cli: add option to generate textual diff by external command 2023-08-03 13:53:37 +09:00
fake-editor.rs Add a config edit command to open jj config in editor 2023-01-12 01:10:07 -06:00