Quilt and cutting down diff position lines

Rosen Penev rosenp at gmail.com
Wed Feb 24 17:54:54 EST 2021


On Wed, Feb 24, 2021 at 2:53 AM Adrian Schmutzler
<mail at adrianschmutzler.de> wrote:
>
> 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?
You found this out on IRC. diff has a 40 line limit.

Different diff utilities can be used with the --diff=utility command
line option.
>
> Best
>
> Adrian
>
>
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list