Bug 137087

Summary: check-webkit-style looks up files from non-HEAD git commits incorrectly
Product: WebKit Reporter: Brian Burg <burg>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bburg, ddkilzer, dfarler, ossy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Brian Burg 2014-09-24 16:42:46 PDT
If you have some patches on a git branch:

111 Refactor Foo.
222 Refactor Foo and Bar.
333 Aw hell, let's delete Foo.

And then run Tools/Scripts/webkit-patch -g 222 while HEAD is at 333, the style checker will die, complaining that file Foo was deleted. This leads me to believe it's looking at HEAD for some reason.