ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] pre-commit hook issue

From: Evan Huus <eapache@xxxxxxxxx>
Date: Sat, 26 Apr 2014 22:22:46 -0400

On Apr 26, 2014, at 10:18 PM, mmann78@xxxxxxxxxxxx wrote:

I have found myself from time to time needing to temporarily disable the pre-commit hook (ie error is ignorable).  The situation I ran into today I don't think should have been. 
 
I created a patch that removed a header file from epan\dissectors (packet-ipsec.h).  When I tried to commit it, the pre-commit hook errored out with "can't find packet-ipsec.h" and failed the commit.  Is there something I'm missing (using TortoiseGit) or does the script need to be tweaked to ignore deleted files?

The latter I expect. Was the file deleted according to git or just according to the file system?

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe