b4 adds Link trailer although not asked to?

Matthias Beyer <[email protected]>
Newsgroups org.kernel.linux.tools
Message-ID <e3mhkyielk4berng7qdypcyty5e7yru3u4hsyx2fgzta56ryzf@xufrwmpc3g4b>
Hi,

(CC Konstantin as author of the file mentioned below)

I am currently playing with b4 and am wondering why b4 adds a `Link:`
trailer even though I did not specify `--add-link`.

There's no configuration file around

    git config list | grep b4 # no output

or something, here's what I did:

    notmuch show --format=mbox $SOME_NOTMUCH_QUERY | b4 am -m - -o -

and it prints the resulting patches with a `Link: ...`.

FWIW, I am not in the kernel context, so a lore.kernel.org link is wrong
for my usecase (I know I can set an alternative mask, but I don't want
any link in the resulting commits here).

The above was tested with b4 0.14.3 and 0.15.2.

The only source line in b4 that sets addlink=True is in

    src/b4/mbox.py:135

but I don't see how that line is hit in my case, because `addmsgid`
should be False here (False by default).

Hope you can help me here,
Best,
Matthias
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEUJGUus1GMTrRclzcEKWX9Kitz80FAmnt5ywACgkQEKWX9Kit
z81dDxAAqOJZpqZryBk+3eiefz9gpI2F1iYKKPd09j34hXi6F+6w3oWchVCnUSru
mnmTS8B8wNW+Ob7vFjJISvpnTk2m26RKkLLNbjcwXNuyaDNvIOD6ekBjrkue613X
pA09M28dCfET+ZDrXaIHuxB0Bw08J379gk7DkpUMTzWU4XrCnfCACWDpfpG+iuQI
al7t8eEneREClZ82Kv0wo6i2kJ3KX1CKAvzJHf5QO3g4sBEwQ7oTPRlvW1AHuvV1
BGuXOaN4s7WlAypdAM3HP1czGZvGTz87vOGKvVJHZKREd6T/jueaEZm8/xsHrfdA
GZJaT1IFqsO8fo3MCJnc96JUw6hptJPYQ4xzQWdn2B56XS2IHQmCVa8wQJ89eu3v
IvRF+5eXF4qEs6zfNnTO8+c1F2tsEzs2zWf+vdKSMXVazJJXpegvaJShfo8WdcoT
IoxCia95kNDpT4aGH8aR5O+8CQGt3ntPTG5QiNapqi72mB3plrE1uwuS+jDAfUR+
guLuNsDuSVyRZ4UB3b0XplBJ7r+f+6w/4TP8nBy1E7Defo0xZ1qxJSdaYzFc40RY
Ypv+kI1iyk12pEzR2prvm7Q43lzH0Eg1Ko1AnFVk/a/Yti92GDps8nRGjMPV0n3r
hl2gKP+Js2/Avi3iXwNN+zeKVS8t5uXMQ4ovMRj2wJ6qSjDiedE=
=dT6a
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.