b4: Ignore trailers only for CC
PATCH 1/1 b4: Ignore trailers only for CC
I'm not sure what's the intention of the trailers-ignore-from but I only want to ignore them from Cc: lines. Otherwise it cannot get Acked-by or Reviewed-by from those people.
Signed-off-by Namhyung Kim <[email protected]>
--- src/b4/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/b4/__init__.py +1 -1
@@ -2269,7 +2269,7 @@ MAILMAP_INFO = dict() if ltr in fixtrailers or ltr in ignored: continue - if (ltr.addr and ltr.addr[1].lower() in ignores) or (ltr.lmsg and ltr.lmsg.fromemail.lower() in ignores): + if ((ltr.addr and ltr.addr[1].lower() in ignores) or (ltr.lmsg and ltr.lmsg.fromemail.lower() in ignores)) and ltr.lname == 'cc': logger.info(' x %s', ltr.as_string(omit_extinfo=True)) ignored.add(ltr) continue
Signature · 1 line
2.47.0.rc1.288.g06298d1525-goog