Mike Frysinger 0a9265e2d6 diff: handle errors gracefully
If `git diff` fails in any project checkout (e.g. an incomplete
sync), make sure we print that error clearly rather than blowing
up, and exit non-zero in the process.

Bug: https://crbug.com/gerrit/11613
Change-Id: I12f278427cced20f23f8047e7e3dba8f442ee25e
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/239236
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
Tested-by: Mike Frysinger <vapier@google.com>
2019-10-01 05:44:09 +00:00
..
2019-06-13 14:30:52 +00:00
2019-06-13 14:30:52 +00:00
2019-10-01 05:44:09 +00:00
2019-06-13 14:30:52 +00:00
2019-10-01 05:43:51 +00:00
2019-06-13 14:30:52 +00:00
2019-06-13 14:30:52 +00:00
2019-06-13 14:30:52 +00:00
2019-06-13 14:30:52 +00:00
2019-09-24 04:17:03 +00:00
2019-06-13 14:30:52 +00:00
2019-06-14 14:13:23 +00:00