scripts: allow one-line summary to start with "[Vv]ersion \d"
commitce0e4459c40fceb367d9383f2c078ac8a2a0ea60
authorJim Meyering <meyering@redhat.com>
Fri, 6 Jan 2012 16:51:52 +0000 (6 17:51 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 6 Jan 2012 16:51:52 +0000 (6 17:51 +0100)
tree721c4431d15ee0c9103ade959778195dc5c91490
parent59cb41ecd759e54d559083f14d02d2140a4b2f46
scripts: allow one-line summary to start with "[Vv]ersion \d"

* scripts/git-hooks/commit-msg: Do not reject the commit log
message generated by our automated release-and-tag process.
(bad_first_line): New function, extracted from...
(check_msg): ... here.  Use it.
scripts/git-hooks/commit-msg