[repohooks] Remove %B in favour of %s & %b

Remove the requirement for git 1.7.2 and instead switch --format=%B for
--format=%s and --format=%b

BUG=none
TEST=Test using git 1.7.1 and 1.7.2.3 to ensure the same result.

Change-Id: Ib82249a2ea984f1431417ba0777214cba1e2fcc8
Reviewed-on: http://gerrit.chromium.org/gerrit/426
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Tested-by: Sean Paul <seanpaul@chromium.org>
1 file changed
tree: 6ee458dbe68a15ade4152d3613fa86405135b84d
  1. checkpatch.pl
  2. pre-upload.py