3164: rbt patch --commit should support wrapping commit message lines

kevin.t********@gmai***** (Google Code) (Is this you? Claim this profile.)
What version are you running?
RBTools 0.5

What's the URL of the page this enhancement relates to, if any?

Describe the enhancement and the motivation for it.
The commit messages generated by 'rbt patch' are a great way to easily ensure that high quality commit messages show up in the log. Unfortunately the default configuration for 'git log' passes the log through a pager that doesn't word wrap and instead creates a horizontal scrollbar, making commit messages generated by it very difficult to read. For an example see this commit [1], which was created following the process here [2]. Of course this can be somewhat mitigated with editor configuration and committer vigilance, but it would be really awesome if this were configurable for the full repository in .reviewboardrc with something like PATCH_MAX_COLUMNS = 100.

[1] https://git-wip-us.apache.org/repos/asf?p=incubator-aurora.git;a=commit;h=de69dc59dd8eb12803e227090cef9a395aa358f3
[2] https://git-wip-us.apache.org/repos/asf?p=incubator-aurora.git;a=blob;f=docs/contributing.md;h=d337da2be9b182a0c872574c3587d414c566331b;hb=master#l30

What operating system are you using? What browser?

All of them, but this will predominantly affect users of git or other SCMs that support 'rbt patch --commit'.

Please provide any additional information below.
#1 david
  • +Component-RBTools
#2 chipx86
  • +Project-RBTools
#3 david
  • -reviewboard
  • -Project:RBTools