Bug 245229

Summary: commit-hook word-wrapping broken with indented long lines
Product: Services Reporter: Matthias Andree <mandree>
Component: Bug TrackerAssignee: Bugmeister <bugmeister>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: unspecified   
Hardware: Any   
OS: Any   

Description Matthias Andree freebsd_committer 2020-04-01 11:26:07 UTC
Greetings,

commit-hook@ just dealt out this comment by e-mail:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244323#c5

And it looks like it is doing word wrapping on the sender's end, which is overzealous and aborts an indented line after the first blank (ASCII space), breaking indentation, here - I am showing the quoted printable and am marking LF as ¶:

Changes:
  head/net-mgmt/netdata/Makefile¶
  head/net-mgmt/netdata/distinfo¶
  head/net-mgmt/netdata/files/patch-collectors_python.d.plugin_Makefile.am¶
=20¶
head/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python__module=
s_bases_loaders.py¶
  head/net-mgmt/netdata/files/patch-web_gui_index.html¶
  head/net-mgmt/netdata/pkg-plist¶
¶
(MIME boundary follows)

That long line with plugin_python__modules_bases_loaders.py should NOT have been word-wrapped because there hadn't been any content on the same line previously.