Todd Lipcon has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/10138 )

Change subject: iwyu: early-exit if no files are relevant in git mode
......................................................................

iwyu: early-exit if no files are relevant in git mode

If the '--from-git' mode is used and no files are changed in the
current commit, we need to early exit. Otherwise, we'll pass an empty
set of files to the IWYU tool, which will cause it to run on _all_ files
instead of none.

Change-Id: Ied72003a92df55ad2359ce6eb5ea9ae44de05067
Reviewed-on: http://gerrit.cloudera.org:8080/10138
Reviewed-by: Alexey Serbin <[email protected]>
Tested-by: Kudu Jenkins
---
M build-support/iwyu.py
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Alexey Serbin: Looks good to me, approved
  Kudu Jenkins: Verified

--
To view, visit http://gerrit.cloudera.org:8080/10138
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ied72003a92df55ad2359ce6eb5ea9ae44de05067
Gerrit-Change-Number: 10138
Gerrit-PatchSet: 2
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to