kakoune/test/tools/patch/signature/in
Johannes Altmanninger 11e7e2964c rc tools patch: skip patch message signature, fixing diff application
Patches as produced by "git format-patch" have a trailing signature
that is separated from the body by a line with "-- " on it.  By default
it contains the Git version.  We erroneously include this signature
in the diff we pipe to patch, which fails to apply as a result.

Add a targeted fix to suppress these signatures.
2024-01-26 09:55:52 +11:00

11 lines
127 B
Plaintext

diff -ur a/file1 b/file1
--- a/file1
+++ b/file1
@@ -1,3 +1,3 @@
context
-file1 here
+modified file1 here
context
--
2.43.0