diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-09-03 19:17:49 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-09-03 19:17:49 -0700 |
commit | cbcd3dcaa8e504779523959ccf8771fdb32f2d2a (patch) | |
tree | 064019c85efadf486be00b0b546ed0482aba35a1 /test-sha1-array.c | |
parent | Merge branch 'mh/get-remote-group-fix' into maint (diff) | |
parent | git_open_noatime: return with errno=0 on success (diff) | |
download | tgif-cbcd3dcaa8e504779523959ccf8771fdb32f2d2a.tar.xz |
Merge branch 'cb/open-noatime-clear-errno' into maint
When trying to see that an object does not exist, a state errno
leaked from our "first try to open a packfile with O_NOATIME and
then if it fails retry without it" logic on a system that refuses
O_NOATIME. This confused us and caused us to die, saying that the
packfile is unreadable, when we should have just reported that the
object does not exist in that packfile to the caller.
* cb/open-noatime-clear-errno:
git_open_noatime: return with errno=0 on success
Diffstat (limited to 'test-sha1-array.c')
0 files changed, 0 insertions, 0 deletions