[Webkit-unassigned] [Bug 27955] let check-webkit-style look at changes staged in the git index

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 3 15:06:41 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27955


David Levin <levin at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |levin at chromium.org




--- Comment #2 from David Levin <levin at chromium.org>  2009-08-03 15:06:40 PDT ---
Does --git-commit=HEAD work for you?

The problem with adding --git-index is that it won't work well if you've done
changes locally that aren't in the index. 

For example, suppose you change lines 10-14 in the index and then delete lines
5-9 in your local file system.  The checker uses the local files so it gives
you style messages for lines 10-14 in the local file which is wrong.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list