Merge pull request #1815 from libgit2/ntk/topic/stream_write/check_before_overwriting Ask the odbbackend if the object exists before overwriting it