Skip to content

Detect non email patches in git-mailinfo

Eric W. Biederman git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Make read_one_header_line return a flag not a length.mailinfo.c+11 -110 replies
2/6Move B and Q decoding into check header.mailinfo.c+5 -70 replies
3/6Refactor commit messge handling.mailinfo.c+22 -360 replies
4/6In handle_body only read a line if we don't already have one.mailinfo.c+1 -10 replies
5/6More accurately detect header lines in read_one_header_linemailinfo.c+17 -82 replies
6/6Allow in body headers beyond the in body header prefix.mailinfo.c+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Detect non email patches in git-mailinfo

After looking at a number of additional quit patches I noticed a small problem with using the current git-mailinfo. On patches with out any leading headers git-mailinfo can get confused and loose a bit of information.

So far I have only seen this in the quilt from Andi Kleen but it is fairly straight forward to fix.

What follows is a small patch series that one small step at a time refactors (and I think simplifies) git-mailinfo so that it can detect and cope with a file without any email headers.

Eric