summaryrefslogtreecommitdiff
path: root/src/object_api.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-12-24 17:30:24 +0000
committerCarlos Martín Nieto <cmn@dwim.me>2016-11-14 11:34:14 +0100
commit7ea4710ae3529f6c7ddccf70f76bdd8a757b000e (patch)
treeddcbfe438ccafcd534953097eba0636ebbcd8351 /src/object_api.c
parentf94825c10c1c8f003e80859530cce8ceea1bd314 (diff)
downloadlibgit2-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