- Feb 04, 2014
-
-
Johann Koenig authored
git diff adds the following line to diffs: \ No newline at end of file which interferes with diff.py parsing. diff.py only looks for '+', '-' and ' ' at the beginning of the line. Issue seen on https://gerrit.chromium.org/gerrit/68611 Change-Id: I0d7b4485c470e0b409f2c9cddde6c9aceba0152e
-
- Jan 22, 2014
-
-
James Zern authored
dropped in r113; this check is helpful in this project Change-Id: If810607b7cbf89ad701b4865d685f4b96aeee2dc
-
James Zern authored
adds --linelength / --extensions and support for eclipse style output latest from (r119): http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py Change-Id: I58be3a2d60daa9ba0d0bc1574fd13a2144c5d13d
-
- Oct 15, 2013
-
-
Guillaume Martres authored
There's no good reason to use types like long or short in new code. Change-Id: Ic6de6259d5a99b7af478e9c6ab74e65d81b022e2
-
- May 04, 2013
-
-
James Zern authored
Change-Id: Ief419d894efbd89b6aa2451e47d8ed03cb9fb21e
-
- May 03, 2013
-
-
James Zern authored
latest from (r103): http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py Change-Id: I474bf11e0f08115d5e579c92f43577978960d4ed
-
- Nov 15, 2012
-
-
John Koleszar authored
Change-Id: Ib8f8a66c9fd31e508cdc9caa662192f38433aa3d
-
- Oct 19, 2012
-
-
John Koleszar authored
When run with no arguments, report warnings in the diff between the working tree and HEAD. With arguments, report warnings in the diff between the named commit and its parents. Change-Id: Ie10dcdecb303edf8af51bad645cc11206a1fc26b
-
- Oct 18, 2012
-
-
John Koleszar authored
Prior to this patch, if there were any lint errors, this script would exit with an error, even if those errors were not in the hunks being tested by this script. This change makes it so that if any lint lines are printed, an error is returned. Change-Id: I69c8bef4367ccf25d287508f29e587b1f4426143
-
- Oct 17, 2012
-
-
John Koleszar authored
Rather than diffing only the index, support checking arbitrary commits. Change-Id: Ia135a487990d8293d1e0799dc062b9f49e020b25
-
- Aug 27, 2012
-
-
John Koleszar authored
Useful to pass --target etc to this script on Jenkins. Change-Id: I9b22339a211df543077bcc84bdef4460f3ca5c9c
-
- Aug 21, 2012
-
-
John Koleszar authored
Change-Id: I64c470fb5a4f32a862cfb5424fb95baac47fcc24
-
- Aug 10, 2012
-
-
John Koleszar authored
Shows the subset of style violations that intersect with lines modified in the current index. Change-Id: I0b51674fd43df118e8bbf55b684a1ca0bd0e1d40
-
- Aug 09, 2012
-
-
John Koleszar authored
Seperate parsing functions so they can be reused for other diff utilities Change-Id: I1ea6ebf90ded128eec116cc1f326a28bdda2fb77
-
John Koleszar authored
Change-Id: I89076d93968a5817d6d0330ec7fd6a6c73fe397f
-
- Aug 08, 2012
-
-
John Koleszar authored
Change-Id: I476f43ea513e7c140f4e4f14df73dd3131cb2692
-
- May 05, 2012
-
-
Johann Koenig authored
On darwin, sed expects an argument for '-i'. Make it empty. Change-Id: I5dc6cdf667a754b2624f1767eb6e8025df48e308
-
- Apr 12, 2012
-
-
Johann Koenig authored
Change-Id: I377387681332cfc975254cd825e4ad2998271690
-
John Koleszar authored
Change-Id: I1952608479954c07f3556f96ea3de9118216bf27
-
- Apr 04, 2012
-
-
John Koleszar authored
Ignore renamed, copied, and deleted files when applying the style rules. Change-Id: I6102e34f833e5c2ef7a88d6d57bbfdca51b25d94
-
- Mar 30, 2012
-
-
James Zern authored
truncate() operates from the current file pointer position. On at least Linux specifying 0 without resetting the pointer will pad the file with zeros to the current offset. Change-Id: Ide704a1097f46c0c530f27212bb12e923f93e2d6
-
- Mar 29, 2012
-
-
John Koleszar authored
It's common for commit messages to be wrapped at odd places. git-gui is often to blame. Adds support for automatically fixing up these messages if running ftfy --amend, and adds a new option --msg-only for fixing only the commit message. Change-Id: Ia7ea529f8cb7395d34d9b39f1192598e9a1e315b
-
- Mar 28, 2012
-
-
John Koleszar authored
This is a utility for applying a limited amount of style correction on a change-by-change basis. Rather than a big-bang reformatting, this tool attempts to only correct the style in diff hunks that you touch. This should make the cosmetic changes small enough that we can mix them with functional changes without destroying the diffs, and there's an escape hatch for separating the reformatting to a second commit for purists and cases where it hurts readability. At this time, the script requires a clean working tree, so run it after you've commited your changes. Run without arguments, the style corrections will be applied and left unstaged in your working copy. It also supports the --amend option, which will automatically amend your HEAD with the corrected style, and --commit, which will create a new change dependent on your HEAD that contains only the whitespace changes. There are a number of ways this could be applied in an automated manner if this proves to be useful, either on a project-wide or per-user basis. This doesn't buy anything in terms of real code quality, the intent here would be to keep formatting nits out of review comments in favor of more meaningful ones and help people whose habitual style doesn't match the baseline. Requires astyle[1] 1.24 or newer. [1]: http://astyle.sourceforge.net/ Change-Id: I2fb3434de8479655e9811f094029bb90e5d757e1
-
- Aug 19, 2011
-
-
John Koleszar authored
First version of a simple tool to get a list of the version a user first contributed to. Change-Id: I8f1b1fef5343de269c4b6209632c9cedc2cf1a37
-
- Jun 16, 2010
-
-
John Koleszar authored
This information is in git, so it's better to use that as a source than updating this file manually. This script can be run manually at release time for now, or we can set up a cron job sometime in the future. Change-Id: I0344135ceb9c04ed14e2e2d939a93194e35973db
-