Bug 137087 - check-webkit-style looks up files from non-HEAD git commits incorrectly
Summary: check-webkit-style looks up files from non-HEAD git commits incorrectly
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-24 16:42 PDT by Brian Burg
Modified: 2015-08-03 19:59 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.