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

Date: Sat, 26 Apr 2014 22:34:37 -0400 (EDT)
I believe I just deleted the file in Windows Explorer, but the "commit list" (and their file status) doesn't look any different than if I had used the git menu.
 
 
 
-----Original Message-----
From: Evan Huus <eapache@xxxxxxxxx>
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Sent: Sat, Apr 26, 2014 10:24 pm
Subject: Re: [Wireshark-dev] pre-commit hook issue


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
___________________________________________________________________________
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