summaryrefslogtreecommitdiff
path: root/core/plumbing
diff options
context:
space:
mode:
Diffstat (limited to 'core/plumbing')
-rw-r--r--core/plumbing9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/plumbing b/core/plumbing
index 4e8cd702..7292577f 100644
--- a/core/plumbing
+++ b/core/plumbing
@@ -43,6 +43,15 @@ data matches '[0-9a-f]*[0-9][0-9a-f]*'
data matches '[0-9a-f]*[a-f][0-9a-f]*'
plumb start Diff $0
+# a jj change id looked at in the editor (eight or more of its letters,
+# k to z, as jj log shows them), in a jj repository: jj show, its header
+# and its hunks, stacked in a +Diff (a word that names no change: Diff
+# declines and the word is searched for)
+type is text
+src is pardes
+data matches '[k-z]{8,32}'
+plumb start Diff $0
+
# a diff paged (git show, git log -p) is shown stacked in a +Diff in
# its +Pager's place
type is text/x-diff