summaryrefslogtreecommitdiff
path: root/tools/wrap-commit-msg.py
AgeCommit message (Collapse)Author
2012-03-29tools/wrap-commit-msg.py: fix file truncationJames Zern
truncate() operates from the current file pointer position. On at least Linux specifying 0 without resetting the pointer will pad the file with zeros to the current offset. Change-Id: Ide704a1097f46c0c530f27212bb12e923f93e2d6
2012-03-29FTFY: support wordwrapping commit messagesJohn Koleszar
It's common for commit messages to be wrapped at odd places. git-gui is often to blame. Adds support for automatically fixing up these messages if running ftfy --amend, and adds a new option --msg-only for fixing only the commit message. Change-Id: Ia7ea529f8cb7395d34d9b39f1192598e9a1e315b