diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2021-05-15 00:43:58 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2021-05-15 00:52:28 +0200 |
commit | 1d94980dbdd43b0165109c78c864c1dbb51a9246 (patch) | |
tree | ff24d7b9a3e462fef63f0a08c2a961cfdd7f9e1f /quilt.quiltrc | |
parent | 26f7bc93d2bbe49a96d23f879b24e82651392497 (diff) | |
download | quilt-1d94980dbdd43b0165109c78c864c1dbb51a9246.tar.gz |
Tighten the patch format parsing
Require a "---" line to be followed by a "+++" line to recognize it as
the start of a unified diff. Likewise, require a "***" line to be
followed by a "---" line to recognize it as the start of a context diff.
Without that, a line like "*** NOTE ***" in the patch header will cause
the refresh and header commands to truncate the header.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'quilt.quiltrc')
0 files changed, 0 insertions, 0 deletions