Wireshark-commits: [Wireshark-commits] master 28128ca: tools/pre-commit: compare files instead of m

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 8 Sep 2015 11:01:25 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=28128ca41c299ea859fd59583a12cd767b1af33f
Submitter: Alexis La Goutte (alexis.lagoutte@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

28128ca by Peter Wu (peter@xxxxxxxxxxxxx):

    tools/pre-commit: compare files instead of mtime
    
    Instead of unconditionally checking for the file mtime, compare file
    contents instead. Perform this check only for invocations via a hook.
    
    While at it, simplify setting defaults for the git directory and the
    commit identifier. Support executions via relative paths and update the
    help messages on top of the file.
    
    Change-Id: I89c015fe6553ad52e07795683dd88cb219a26ed2
    Reviewed-on: https://code.wireshark.org/review/8923
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    

Actions performed:

    from  47f5d41   Qt: Fixed a resource leak in getFilterFromRowAndColumn
    adds  28128ca   tools/pre-commit: compare files instead of mtime


Summary of changes:
 tools/pre-commit |   33 +++++++++++++++++++++------------
 1 file changed, 21 insertions(+), 12 deletions(-)