diff options
author | Daniel Sandler <dsandler@menace.cam.corp.google.com> | 2010-03-02 15:38:03 -0500 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2010-03-04 11:56:38 -0500 |
commit | 4c50deea28badb7007fa6b78c187de50eacdd07a (patch) | |
tree | d51d267854493562a0b8a5a6480050319a78a39b /hooks | |
parent | d63060fc9546e2132d0ad7791beb795906372e86 (diff) | |
download | git-repo-4c50deea28badb7007fa6b78c187de50eacdd07a.tar.gz |
Fail sync when encountering "N commits behind."
This is almost always something the user needs to address
before continuing work, so promoting it to a failure (rather
than simply an informational message) seems the right way to
go. As a side-effect, repo will now exit with a non-zero
status code in this situation, so pipelines of the form
`repo sync && make` will fail if there are branches that
are stalled due to uploaded but unmerged patches.
Diffstat (limited to 'hooks')
0 files changed, 0 insertions, 0 deletions