summaryrefslogtreecommitdiff
path: root/src/indexer.c
Commit message (Expand)AuthorAgeFilesLines
* str: introduce `git_str` for internal, `git_buf` is externalethomson/gitstrEdward Thomson2021-10-171-33/+33
* hash: hash functions operate on byte arrays not git_oidsEdward Thomson2021-10-021-3/+3
* hash: accept the algorithm in inputsEdward Thomson2021-10-011-2/+2
* Avoid double negatives in the justification for truncationlhchavez2021-09-081-2/+5
* Only avoid `mmap(2)`/`ftruncate(2)` when in non-Windowslhchavez2021-09-081-2/+84
* Also remove a `ftruncate(2)` call in `git_indexer_commit`lhchavez2021-09-071-6/+0
* indexer: Avoid one `mmap(2)`/`munmap(2)` pair per `git_indexer_append` calllhchavez2021-09-071-47/+2
* Use `p_pwrite`/`p_pread` consistently throughout the codebaselhchavez2021-01-071-3/+1
* Support build with NO_MMAP to disable use of system mmapDhruva Krishnamurthy2020-12-301-0/+18
* Make the pack and mwindow implementations data-race-freelhchavez2020-11-281-11/+3
* pack: use GIT_ASSERTEdward Thomson2020-11-271-2/+2
* mwindow: use GIT_ASSERTEdward Thomson2020-11-271-10/+16
* indexer: use GIT_ASSERTEdward Thomson2020-11-271-6/+10
* Make the tests pass cleanly with MemorySanitizerlhchavez2020-06-301-1/+4
* tree-wide: do not compile deprecated functions with hard deprecationPatrick Steinhardt2020-06-091-0/+2
* Making get_delta_base() conform to the general error-handling patternlhchavez2020-04-011-3/+4
* indexer: check return code of `git_hash_ctx_init`Patrick Steinhardt2020-02-071-3/+3
* internal: use off64_t instead of git_off_tethomson/off_tEdward Thomson2019-11-251-19/+19
* indexer: catch OOM when adding expected OIDsPatrick Steinhardt2019-08-231-0/+1
* Rename opt init functions to `options_init`Edward Thomson2019-06-141-1/+6
* indexer: use git_indexer_progress throughoutEdward Thomson2019-02-221-8/+8
* indexer: use map iterator to delete expected OIDsPatrick Steinhardt2019-02-151-16/+12
* oidmap: introduce high-level setter for key/value pairsPatrick Steinhardt2019-02-151-23/+19
* maps: use uniform lifecycle management functionsPatrick Steinhardt2019-02-151-4/+5
* git_error: use new names in internal APIs and usageEdward Thomson2019-01-221-32/+32
* object_type: use new enumeration namesethomson/index_fixesEdward Thomson2018-12-011-17/+17
* khash: remove intricate knowledge of khash typesPatrick Steinhardt2018-11-281-3/+3
* Merge pull request #4374 from pks-t/pks/pack-file-verifyEdward Thomson2018-08-261-89/+259
|\
| * indexer: correctly initialize struct with {0}Patrick Steinhardt2018-06-221-1/+1
| * indexer: add ability to select connectivity checksPatrick Steinhardt2018-06-221-3/+3
| * indexer: introduce options struct to `git_indexer_new`Patrick Steinhardt2018-06-221-4/+14
| * indexer: check pack file connectivityPatrick Steinhardt2018-06-221-1/+151
| * indexer: extract function reading stream objectsPatrick Steinhardt2018-06-221-78/+91
| * indexer: remove useless local variablePatrick Steinhardt2018-06-221-6/+3
* | Use UINT32_MAX as the default object limitNelson Elhage2018-07-201-1/+1
* | See if this fixes 32-bit buildNelson Elhage2018-07-161-1/+1
* | Add a git_libgit2_opts option to set the max indexer object countNelson Elhage2018-07-121-9/+6
* | while fuzzing, limit # objects readNelson Elhage2018-07-121-0/+5
|/
* Convert usage of `git_buf_free` to new `git_buf_dispose`Patrick Steinhardt2018-06-101-7/+7
* pack: rename `git_packfile_stream_free`Patrick Steinhardt2018-06-101-2/+2
* odb: error when we can't create object headerEdward Thomson2018-02-091-4/+11
* Fix unpack double freelhchavez2017-12-231-2/+8
* libFuzzer: Fix missing trailer crashlhchavez2017-12-081-0/+4
* libFuzzer: Fix a git_packfile_stream leaklhchavez2017-12-061-0/+3
* Make sure to always include "common.h" firstPatrick Steinhardt2017-07-031-1/+2
* Merge pull request #4088 from chescock/packfile-name-using-complete-hashEdward Thomson2017-06-111-8/+4
|\
| * indexer: name pack files after trailer hashChris Hescock2017-05-191-8/+4
* | settings: rename `GIT_OPT_ENABLE_SYNCHRONOUS_OBJECT_CREATION`Patrick Steinhardt2017-06-081-1/+1
* | Honor `core.fsyncObjectFiles`ethomson/fsyncEdward Thomson2017-03-021-4/+13
* | fsync: call it "synchronous" object writingEdward Thomson2017-02-281-3/+3