summaryrefslogtreecommitdiff
path: root/src/plumbing
diff options
context:
space:
mode:
Diffstat (limited to 'src/plumbing')
-rw-r--r--src/plumbing7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plumbing b/src/plumbing
index 1a446f74..4e8cd702 100644
--- a/src/plumbing
+++ b/src/plumbing
@@ -42,3 +42,10 @@ data matches '[0-9a-f]{7,40}'
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 diff paged (git show, git log -p) is shown stacked in a +Diff in
+# its +Pager's place
+type is text/x-diff
+attr delete action
+attr add action=showdiff
+plumb to edit