kakoune/test/tools/patch/ignore-first-file/rc
Johannes Altmanninger 1276e67ef7 rc tools patch: skip spurious diff header for files with no changes
Since :patch transforms its inputs into context-only lines, we can
easily get into a state where a file diff has only context lines.
git apply does not accept a "diff" without any hunk, so let's skip
that.
2024-01-22 07:02:31 +01:00

2 lines
42 B
Plaintext

source "%val{runtime}/rc/tools/patch.kak"