new_variant: fix word-wrapping of message
Using `fmt` to word-wrap the entire commit message is messing up;
it's wrapping the BUG, TEST, and BRANCH (when present) into one line,
so remove it where it won't matter, and use it to format only the
main paragraph where needed.
BUG=b:158602858, b:149700012
TEST=`./new_variant.py --board=puff --variant=wyvern`
Check the CL commit messages to ensure that the BUG and TEST lines
did not get wrapped.
Change-Id: I818c1963723551ac4f8886f116ba3b3aac1c8777
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/2239970
Tested-by: Paul Fagerburg <pfagerburg@chromium.org>
Auto-Submit: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
3 files changed