Quilt and cutting down diff position lines

Adrian Schmutzler mail at adrianschmutzler.de
Wed Feb 24 05:49:35 EST 2021


Hi,

as most are probably aware, quilt cuts down the position lines in patches
during refresh:

- @@ -78,7 +78,8 @@ void machine_apply_elf_rel(struct mem_ehdr
*UNUSED(ehdr),
+ @@ -78,7 +78,8 @@ void machine_apply_elf_rel(struct mem_eh

While this has no functional impact, it creates a lot of additional spam
during checkpatch.pl, and it makes these lines less useful for the frequent
cases where the relevant (meaning "specific") information is at the end of
that line (i.e. when looking at patches directly). Apart from that, this
also bloats diffs in packages when people add proper patches, and quilt will
then just cut down these lines without a change in position.

I wonder whether quilt can be convinced to not cut this line (did not find
any helpful guidance so far), and whether one wants to change that if it's
possible?

Best

Adrian






More information about the openwrt-devel mailing list