diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-12-24 17:30:24 +0000 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2016-11-14 11:34:14 +0100 |
| commit | 7ea4710ae3529f6c7ddccf70f76bdd8a757b000e (patch) | |
| tree | ddcbfe438ccafcd534953097eba0636ebbcd8351 /src/object_api.c | |
| parent | f94825c10c1c8f003e80859530cce8ceea1bd314 (diff) | |
| download | libgit2-7ea4710ae3529f6c7ddccf70f76bdd8a757b000e.tar.gz | |
refdb: don't report failure for expected errors
There might be a few threads or processes working with references
concurrently, so fortify the code to ignore errors which come from
concurrent access which do not stop us from continuing the work.
This includes ignoring an unlinking error. Either someone else removed
it or we leave the file around. In the former case the job is done, and
in the latter case, the ref is still in a valid state.
Diffstat (limited to 'src/object_api.c')
0 files changed, 0 insertions, 0 deletions
