Wireshark mailing list archives
checkhf.pl fails only on pre-commit hook
From: mmann78 () netscape net
Date: Fri, 4 Apr 2014 22:36:29 -0400 (EDT)
I've taken the pre-commit hook file provided in \tools and put it in my git hooks folder. However, whenever I commit something (I've focused mostly on dissector patches and they all fail this way), it fails with "Search pattern not terminated at ./tools/checkhf.pl line 564." When I run checkhf.pl from the Windows command-line, I don't get any errors at all. Suggestions? I only thing I can come up with is different a version of perl is being called from the pre-commit than from command-line. I don't consciously have multiple versions of perl installed (in Windows), so I was wondering if others have seen (and fixed) this issue. I would really help catch errors in case I forget to manually run the scripts because I got frustrated and "disabled" the pre-commit hook (which has happened already)
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- checkhf.pl fails only on pre-commit hook mmann78 (Apr 04)
- Re: checkhf.pl fails only on pre-commit hook Hadriel Kaplan (Apr 04)
- Re: checkhf.pl fails only on pre-commit hook Hadriel Kaplan (Apr 04)
- Re: checkhf.pl fails only on pre-commit hook Hadriel Kaplan (Apr 04)
- Re: checkhf.pl fails only on pre-commit hook Hadriel Kaplan (Apr 04)
- Re: checkhf.pl fails only on pre-commit hook Hadriel Kaplan (Apr 04)
- Re: checkhf.pl fails only on pre-commit hook mmann78 (Apr 05)
- Re: checkhf.pl fails only on pre-commit hook Hadriel Kaplan (Apr 04)
- Re: checkhf.pl fails only on pre-commit hook Hadriel Kaplan (Apr 04)