lint-hunks: exit status for only affected lines
authorJohn Koleszar <jkoleszar@google.com>
Thu, 18 Oct 2012 04:43:18 +0000 (21:43 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Thu, 18 Oct 2012 04:43:29 +0000 (21:43 -0700)
commit13d69d40da1637ec821b13b5105baf85d1638c11
tree00c55530570924b329e7b90e07da4044b14e24e9
parent2b6fd28dfe881a08d36d492f2e00189da5e7d4d6
lint-hunks: exit status for only affected lines

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
tools/lint-hunks.py