summaryrefslogtreecommitdiffstats
path: root/refs/packed-backend.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'ab/refs-errno-cleanup'Junio C Hamano2021-11-301-3/+4
|\
| * refs API: make refs_read_raw_ref() not set errnoHan-Wen Nienhuys2021-10-161-3/+4
* | Merge branch 'jt/no-abuse-alternate-odb-for-submodules'Junio C Hamano2021-10-261-3/+10
|\ \ | |/ |/|
| * refs: peeling non-the_repository iterators is BUGJonathan Tan2021-10-091-0/+3
| * refs: teach arbitrary repo support to iteratorsJonathan Tan2021-10-091-2/+4
| * refs: plumb repo into ref storesJonathan Tan2021-10-091-1/+3
* | refs: make errno output explicit for read_raw_ref_fnHan-Wen Nienhuys2021-08-251-4/+4
* | refs API: remove OID argument to reflog_expire()Ævar Arnfjörð Bjarmason2021-08-251-1/+1
* | refs/packet: add missing BUG() invocations to reflog callbacksÆvar Arnfjörð Bjarmason2021-08-201-0/+5
|/
* Merge branch 'ab/struct-init'Junio C Hamano2021-07-171-1/+1
|\
| * string-list.h users: change to use *_{nodup,dup}()Ævar Arnfjörð Bjarmason2021-07-011-1/+1
* | refs: make explicit that ref_iterator_peel returns booleanHan-Wen Nienhuys2021-05-201-1/+1
|/
* use CALLOC_ARRAYRené Scharfe2021-03-141-2/+2
* refs: move gitdir into base ref_storeHan-Wen Nienhuys2020-08-191-0/+1
* pack-refs: always refresh after taking the lock fileSun Chao2019-08-021-7/+16
* refs/packed-backend: express constants using the_hash_algobrian m. carlson2018-10-151-7/+7
* convert "oidcmp() != 0" to "!oideq()"Jeff King2018-08-291-1/+1
* refs/packed-backend.c: close fd of empty fileStefan Beller2018-06-011-0/+1
* Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin2018-05-061-8/+8
* refs: use chdir_notify to update cached relative pathsJeff King2018-03-301-0/+3
* Merge branch 'kg/packed-ref-cache-fix'Junio C Hamano2018-02-151-51/+55
|\
| * packed_ref_cache: don't use mmap() for small filesKim Gybels2018-01-241-1/+3
| * load_contents(): don't try to mmap an empty fileMichael Haggerty2018-01-241-7/+6
| * packed_ref_iterator_begin(): make optimization more generalMichael Haggerty2018-01-241-6/+6
| * find_reference_location(): make function safe for empty snapshotsMichael Haggerty2018-01-241-4/+6
| * create_snapshot(): use `xmemdupz()` rather than a strbufMichael Haggerty2018-01-241-5/+4
| * struct snapshot: store `start` rather than `header_len`Michael Haggerty2018-01-241-31/+33
| * Merge branch 'mh/avoid-rewriting-packed-refs' into maintJunio C Hamano2017-12-061-0/+94
| |\
* | \ Merge branch 'mh/tidy-ref-update-flags'Junio C Hamano2017-11-151-9/+9
|\ \ \
| * | | refs: update some more docs to use "oid" rather than "sha1"Michael Haggerty2017-11-061-1/+1
| * | | write_packed_entry(): take `object_id` argumentsMichael Haggerty2017-11-061-8/+8
* | | | Merge branch 'mh/avoid-rewriting-packed-refs'Junio C Hamano2017-11-151-0/+94
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | files-backend: don't rewrite the `packed-refs` file unnecessarilyMichael Haggerty2017-10-301-0/+94
* | | refs: convert read_raw_ref backends to struct object_idbrian m. carlson2017-10-161-2/+2
* | | refs: convert peel_object to struct object_idbrian m. carlson2017-10-161-3/+3
* | | refs: convert reflog_expire parameter to struct object_idbrian m. carlson2017-10-161-1/+1
| |/ |/|
* | Merge branch 'rs/cleanup-strbuf-users'Junio C Hamano2017-10-051-2/+2
|\ \
| * | use strbuf_addstr() for adding strings to strbufsRené Scharfe2017-10-021-2/+2
* | | Merge branch 'mh/mmap-packed-refs'Junio C Hamano2017-10-031-237/+742
|\ \ \
| * | | packed-backend.c: rename a bunch of things and update commentsMichael Haggerty2017-09-251-190/+232
| * | | mmapped_ref_iterator: inline into `packed_ref_iterator`Michael Haggerty2017-09-251-170/+114
| * | | ref_cache: remove support for storing peeled valuesMichael Haggerty2017-09-251-1/+8
| * | | packed_ref_store: get rid of the `ref_cache` entirelyMichael Haggerty2017-09-251-27/+2
| * | | ref_store: implement `refs_peel_ref()` genericallyMichael Haggerty2017-09-251-36/+0
| * | | packed_read_raw_ref(): read the reference from the mmapped bufferMichael Haggerty2017-09-251-5/+9
| * | | packed_ref_iterator_begin(): iterate using `mmapped_ref_iterator`Michael Haggerty2017-09-251-3/+106
| * | | read_packed_refs(): ensure that references are ordered when readMichael Haggerty2017-09-251-11/+212
| * | | packed_ref_cache: keep the `packed-refs` file mmapped if possibleMichael Haggerty2017-09-251-42/+143
| * | | packed-backend.c: reorder some definitionsMichael Haggerty2017-09-251-24/+24
| * | | mmapped_ref_iterator_advance(): no peeled value for broken refsMichael Haggerty2017-09-251-2/+8