Hi Fab, On Mon, 29 Jan 2024 10:08:44 +0100, Fab Stz via Quilt-dev wrote: > Let's consider this simple patch that is wrapped between two tags namely > REUSE-IgnoreStart (before the 1st chunk) & REUSE-IgnoreEnd (after the last > chunk). These tags are used by reuse tool to determine that the code between > them should not be parsed. See https://reuse.software/faq/#exclude-lines for > the rationale. > > When I "quilt refresh", REUSE-IgnoreStart is kept, while REUSE-IgnoreEnd is > removed. Is there a way to preserve the comments that are after the last > chunk?
I'm afraid not. Quilt treats patch files as a header followed by diff payload. It has no notion of patch footer, possibly because it isn't trivial to detect the end of the diff payload (as opposed to its beginning, which has a reasonably well-defined and recognizable syntax). For the same reason, quilt also can't preserve comments interleaved with diff hunks. -- Jean Delvare SUSE L3 Support _______________________________________________ Quilt-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/quilt-dev
