commit | e21f41e6645aa11dd0b2c6b81601546e786a6aa0 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Mon Apr 12 17:23:34 2010 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Mon Apr 12 19:09:09 2010 -0700 |
tree | 558864ebdb45d68e8ae0c79c8eb854f934c2c9f8 | |
parent | f95bea43b97954a61ca1d674ca536f58dd653666 [diff] |
commit-msg: Fix jumbling of URL at end of message If a commit message has a URL (e.g. http://) at the start of the last line of the message the commit-msg hook was confusing it as a footer line, and inserted the Change-Id before it. Test for URLs at the start of the line and don't consider them to be message footers. Bug: issue 531 Change-Id: Iba4902502b4f154f456b6b3511b6f3b6cc0b3129 Signed-off-by: Shawn O. Pearce <sop@google.com>