summaryrefslogtreecommitdiff
path: root/src/odb.c
Commit message (Expand)AuthorAgeFilesLines
* odb: fix use of wrong printf formattersPatrick Steinhardt2018-08-061-2/+2
* Convert usage of `git_buf_free` to new `git_buf_dispose`Patrick Steinhardt2018-06-101-7/+7
* odb: fix writing to fake write streamsPatrick Steinhardt2018-03-231-1/+1
* odb: fix memory leaks due to not freeing hash contextPatrick Steinhardt2018-02-091-0/+2
* odb: error when we can't create object headerEdward Thomson2018-02-091-18/+38
* odb: assert on logic errors when writing objectsEdward Thomson2018-02-091-2/+1
* git_odb__hashfd: propagate error on failuresEdward Thomson2018-02-091-1/+1
* git_odb__hashobj: provide errors messages on failuresEdward Thomson2018-02-091-4/+8
* odb: check for alloc errors on hardcoded objectsEdward Thomson2018-02-091-6/+14
* odb: error when we can't alloc an objectEdward Thomson2018-02-091-2/+6
* odb: provide length and type with streaming readEdward Thomson2018-02-011-2/+7
* odb: reject reading and writing null OIDsPatrick Steinhardt2018-01-261-1/+25
* Make sure to always include "common.h" firstPatrick Steinhardt2017-07-031-2/+2
* odb_read_prefix: reset error in backends loopethomson/read_prefixEdward Thomson2017-06-121-1/+4
* odb: fix printf formatter for git_off_tPatrick Steinhardt2017-05-151-3/+3
* odb: shut up gcc warnings regarding uninitilized variablesPatrick Steinhardt2017-05-151-2/+2
* odb: verify hashes in read_prefix_1Patrick Steinhardt2017-04-281-0/+12
* odb: improve error handling in read_prefix_1Patrick Steinhardt2017-04-281-7/+20
* odb: add option to turn off hash verificationPatrick Steinhardt2017-04-281-5/+9
* odb: verify object hashesPatrick Steinhardt2017-04-281-3/+30
* Merge pull request #4030 from libgit2/ethomson/fsyncEdward Thomson2017-03-221-5/+23
|\
| * Honor `core.fsyncObjectFiles`ethomson/fsyncEdward Thomson2017-03-021-5/+23
* | git_commit_create: freshen tree objects in commitethomson/freshen_treesEdward Thomson2017-03-031-3/+3
|/
* giterr_set: consistent error messagesEdward Thomson2016-12-291-12/+12
* common: cast precision specifiers to intPatrick Steinhardt2016-11-141-1/+1
* odb: only provide the empty treeEdward Thomson2016-08-051-5/+0
* odb: freshen existing objects when writingEdward Thomson2016-08-041-3/+44
* Merge pull request #3223 from ethomson/applyEdward Thomson2016-06-251-1/+1
|\
| * delta: move delta application to delta.cEdward Thomson2016-05-261-1/+1
* | fix error message SHA truncation in git_odb__error_notfound()Sim Domingo2016-06-201-1/+1
|/
* odb: Try to lookup headers in all backends before passthroughvmg/expand-fixesVicent Marti2016-03-091-5/+20
* odb: Refactor `git_odb_expand_ids`Vicent Marti2016-03-091-21/+26
* odb: Implement new helper to read types without refreshingVicent Marti2016-03-091-45/+104
* odb: Handle corner cases in `git_odb_expand_ids`Vicent Marti2016-03-091-22/+27
* git_odb_expand_ids: accept git_odb_expand_id arrayEdward Thomson2016-03-081-32/+19
* git_odb_expand_ids: rename func, return the typeEdward Thomson2016-03-081-5/+11
* git_odb_exists_many_prefixes: query odb for multiple short idsEdward Thomson2016-03-071-12/+68
* odb: improved not found error messagesEdward Thomson2016-03-071-7/+10
* odb: Prioritize alternate backendsvmg/odb-lookupsVicent Marti2015-10-141-4/+8
* odb: Be smarter when refreshing backendsVicent Marti2015-10-141-75/+156
* refdb and odb backends must provide `free` functionArthur Schreiber2015-10-011-2/+1
* odb: cast to long long for printfEdward Thomson2015-06-291-1/+1
* Fixed build warnings on Xcode 6.1Pierre-Olivier Latour2015-06-021-1/+1
* Merge pull request #3118 from libgit2/cmn/stream-sizeEdward Thomson2015-05-131-4/+9
|\
| * odb: make the writestream's size a git_off_tcmn/stream-sizeCarlos Martín Nieto2015-05-131-4/+9
* | odb: reverse the default backend prioritiescmn/backends-prioCarlos Martín Nieto2015-05-131-3/+6
|/
* centralizing all IO buffer size valuesJ Wyman2015-05-111-1/+1
* Make our overflow check look more like gcc/clang'sEdward Thomson2015-02-131-7/+8
* odb__hashlink: check st.st_size before castingEdward Thomson2015-02-121-9/+9
* allocations: test for overflow of requested sizeEdward Thomson2015-02-121-0/+1