Print which project _get_commits() failed for

'repo upload' may run hooks on multiple repositories.  Add error info for which project is not on a tracking branch.

BUG=None
TEST=Ran hooks with no tracking branch, and with tracking branch

Change-Id: I9c743bbac9d951045b68916236feeeddcbd31514
Reviewed-on: http://gerrit.chromium.org/gerrit/439
Tested-by: Ryan Cui <rcui@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
1 file changed
tree: 8f63160f6b4d6b8600e6cf097c57a2a14218abb4
  1. checkpatch.pl
  2. pre-upload.py