summaryrefslogtreecommitdiffstats
path: root/runtime/doc/diff.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-05-30 20:54:13 +0200
committerBram Moolenaar <Bram@vim.org>2021-05-30 20:54:13 +0200
commitd2ea7cf10a4d026ebd402594d656af7d5c811c24 (patch)
tree0d72953a92ce37bbdfe87178ab6692ea7ed0d14c /runtime/doc/diff.txt
parent6ef5ab59043681a51e8ca2ab0a1e4ff8f0f4bb47 (diff)
Update runtime files
Diffstat (limited to 'runtime/doc/diff.txt')
-rw-r--r--runtime/doc/diff.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/doc/diff.txt b/runtime/doc/diff.txt
index 62201d4502..2a231b15bb 100644
--- a/runtime/doc/diff.txt
+++ b/runtime/doc/diff.txt
@@ -1,4 +1,4 @@
-*diff.txt* For Vim version 8.2. Last change: 2021 Feb 10
+*diff.txt* For Vim version 8.2. Last change: 2021 May 24
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -345,9 +345,11 @@ between file1 and file2: >
The ">" is replaced with the value of 'shellredir'.
-The output of "diff" must be a normal "ed" style diff or a unified diff. Do
-NOT use a context diff. This example explains the format that Vim expects for
-the "ed" style diff: >
+The output of "diff" must be a normal "ed" style diff or a unified diff. A
+context diff will NOT work. For a unified diff no context lines can be used.
+Using "diff -u" will NOT work, use "diff -U0".
+
+This example explains the format that Vim expects for the "ed" style diff: >
1a2
> bbb