diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2024-01-22 06:58:20 +0100 |
|---|---|---|
| committer | Johannes Altmanninger <aclopte@gmail.com> | 2024-01-22 07:02:31 +0100 |
| commit | 1276e67ef720b19bfe5354495ae72e08c00226ee (patch) | |
| tree | 9723130824d28a318c58712ad45ec6181822ef3d /src/buffer_utils.cc | |
| parent | 869e89b3e5f05acb213d04ea496a0c22c86d90bc (diff) | |
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.
Diffstat (limited to 'src/buffer_utils.cc')
0 files changed, 0 insertions, 0 deletions
