commit | 0a9265e2d633b608090eff79ab4553f0e1c8c7c4 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Mon Sep 30 23:59:27 2019 -0400 |
committer | Mike Frysinger <vapier@google.com> | Tue Oct 01 05:44:09 2019 +0000 |
tree | e82c95a7c44792af2e5848440f25be40ed4c00b3 | |
parent | dc1b59d2c0a7ee00b7e6b111285360c4cff32d2b [diff] |
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>
Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.