diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2014-12-02 20:20:49 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-01-08 13:55:10 -0800 |
commit | 89ea90351dd32fbe384d0cf844640a9c55606f3b (patch) | |
tree | 243dce4d0a5b0a0bcd4f16ddf677076b62b14eb8 /url.c | |
parent | 7fa1365c54c28b3cd9375539f381b54061a1880d (diff) | |
download | git-89ea90351dd32fbe384d0cf844640a9c55606f3b.tar.gz git-89ea90351dd32fbe384d0cf844640a9c55606f3b.tar.xz |
rerere: error out on autoupdate failure
We have been silently tolerating errors by returning early with an
error that the caller ignores since rerere.autoupdate was introduced
in v1.6.0-rc0~120^2 (2008-06-22). So on error (for example if the
index is already locked), rerere can return success silently without
updating the index or with only some items in the index updated.
Better to treat such failures as a fatal error so the operator can
figure out what is wrong and fix it.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'url.c')
0 files changed, 0 insertions, 0 deletions