Skip to content

Two fixes for LoreMessage.get_body_parts()

[email protected] tools 1 version Applied

Status from this message: Thanks, applied both to master and stable-0.5.y. I guess I'm so used to

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Fix basement detection for empty commit message bodiesb4/__init__.py+1 -10 replies
2/2Fix handling of single-paragraph commit message bodiesb4/__init__.py+2 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH b4 0/2] Two fixes for LoreMessage.get_body_parts()

After using 'b4 am' to grab a series from public-inbox meta [0], I noticed that many of the commit message bodies were missing. It turns out that this happens when a message body consists of only a single, non-trailer paragraph.

The second patch fixes this. The first patch addresses another issue I spotted when debugging the dropped commit messages.

[0]: https://public-inbox.org/meta/[email protected]

[1/2] Fix basement detection for empty commit message bodies [2/2] Fix handling of single-paragraph commit message bodies

 b4/__init__.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

base-commit: 2737ccdd3dbf58e330ace3ec658511bfbd715059

Signature · 1 line
2.27.0