Wireshark-commits: [Wireshark-commits] master 0f3a4db: tools/validate-commit.py: post-commit hook t

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 18 Oct 2018 04:51:07 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0f3a4db65713c7425f7825aca0f7c0b81823a893
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

0f3a4db by Peter Wu (peter@xxxxxxxxxxxxx):

    tools/validate-commit.py: post-commit hook to check for commit issues
    
    During review we might overlook issues with the commit messages. Some
    commits somehow ended up IP addresses or local VM hostnames as author
    address. Automate detecting such issues as well as other whitespace
    issues with the commit message itself (detected by commit-msg).
    
    Note: when installing as post-commit hook, it will also be executed when
    doing things like 'git reset --hard'.
    
    Change-Id: Ic638e7f51d89277ac359c04764effb69eb4f2fa1
    Reviewed-on: https://code.wireshark.org/review/30225
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  58c9854   ieee80211: Extend FILS support (802.11ai)
     add  0f3a4db   tools/validate-commit.py: post-commit hook to check for commit issues


Summary of changes:
 tools/validate-commit.py | 183 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 183 insertions(+)
 create mode 100755 tools/validate-commit.py