summaryrefslogtreecommitdiff
path: root/refs
Commit message (Expand)AuthorAgeFilesLines
* convert less-trivial versions of "write_in_full() != len"Jeff King2017-09-141-1/+1
* avoid "write_in_full(fd, buf, len) != len" patternJeff King2017-09-141-4/+4
* Merge branch 'mh/packed-ref-store-prep'Junio C Hamano2017-06-261-9/+23
|\
| * lock_packed_refs(): fix cache validity checkMichael Haggerty2017-06-121-9/+23
* | Merge branch 'ab/free-and-null'Junio C Hamano2017-06-242-4/+2
|\ \
| * | *.[ch] refactoring: make use of the FREE_AND_NULL() macroÆvar Arnfjörð Bjarmason2017-06-161-2/+1
| * | coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason2017-06-161-2/+1
| |/
* | Merge branch 'bw/config-h'Junio C Hamano2017-06-241-0/+1
|\ \ | |/ |/|
| * config: don't include config.h by defaultBrandon Williams2017-06-151-0/+1
* | cache_ref_iterator_begin(): avoid priming unneeded directoriesMichael Haggerty2017-05-241-10/+85
* | create_ref_entry(): remove `check_name` optionMichael Haggerty2017-05-233-11/+10
* | refs_ref_iterator_begin(): handle `GIT_REF_PARANOIA`Michael Haggerty2017-05-231-7/+4
* | read_packed_refs(): report unexpected fopen() failuresMichael Haggerty2017-05-231-2/+12
* | read_packed_refs(): do more of the work of reading packed refsMichael Haggerty2017-05-232-17/+26
* | get_packed_ref_cache(): assume "packed-refs" won't change while lockedMichael Haggerty2017-05-231-5/+11
* | should_pack_ref(): new function, extracted from `files_pack_refs()`Michael Haggerty2017-05-231-14/+28
* | ref_update_reject_duplicates(): expose function to whole refs moduleMichael Haggerty2017-05-232-17/+8
* | ref_transaction_prepare(): new optional step for reference updatesMichael Haggerty2017-05-232-23/+85
* | ref_transaction_commit(): check for valid `transaction->state`Michael Haggerty2017-05-231-3/+0
* | files_transaction_cleanup(): new helper functionMichael Haggerty2017-05-231-9/+24
* | files_ref_store: put the packed files lock directly in this structMichael Haggerty2017-05-231-18/+11
* | files-backend: move `lock` member to `files_ref_store`Michael Haggerty2017-05-231-19/+17
* | ref_store: take a `msg` parameter when deleting referencesMichael Haggerty2017-05-232-3/+3
* | refs: use `size_t` indexes when iterating over ref transaction updatesMichael Haggerty2017-05-231-2/+4
* | prefix_ref_iterator: don't trim too muchMichael Haggerty2017-05-231-1/+17
* | files-backend: use `die("BUG: ...")`, not `die("internal error: ...")`Michael Haggerty2017-05-231-4/+4
* | ref_iterator_begin_fn(): fix docstringMichael Haggerty2017-05-231-3/+4
* | Merge branch 'bc/object-id'Junio C Hamano2017-05-234-87/+79
|\ \
| * | object: convert parse_object* to take struct object_idbrian m. carlson2017-05-081-1/+1
| * | refs/files-backend: convert many internals to struct object_idbrian m. carlson2017-05-083-72/+60
| * | refs: convert struct ref_update to use struct object_idbrian m. carlson2017-05-082-16/+17
| * | reflog_expire: convert to struct object_idbrian m. carlson2017-05-081-2/+5
| |/
* | Merge branch 'js/larger-timestamps'Junio C Hamano2017-05-161-4/+4
|\ \
| * | timestamp_t: a new data type for timestampsJohannes Schindelin2017-04-271-2/+2
| * | PRItime: introduce a new "printf format" for timestampsJohannes Schindelin2017-04-231-1/+1
| * | parse_timestamp(): specify explicitly where we parse timestampsJohannes Schindelin2017-04-231-1/+1
* | | Merge branch 'nd/worktree-kill-parse-ref'Junio C Hamano2017-05-162-44/+4
|\ \ \ | |_|/ |/| |
| * | refs: kill set_worktree_head_symref()Nguyễn Thái Ngọc Duy2017-04-241-44/+0
| * | refs: add REFS_STORE_ALL_CAPSNguyễn Thái Ngọc Duy2017-04-241-0/+4
| |/
* | Merge branch 'mh/separate-ref-cache'Junio C Hamano2017-04-264-1082/+959
|\ \
| * | do_for_each_entry_in_dir(): delete functionmh/separate-ref-cacheMichael Haggerty2017-04-162-32/+0
| * | files_pack_refs(): use reference iterationMichael Haggerty2017-04-161-83/+60
| * | commit_packed_refs(): use reference iterationMichael Haggerty2017-04-161-21/+17
| * | cache_ref_iterator_begin(): make function smarterMichael Haggerty2017-04-163-53/+56
| * | get_loose_ref_cache(): new functionMichael Haggerty2017-04-161-2/+7
| * | get_loose_ref_dir(): function renamed from get_loose_refs()Michael Haggerty2017-04-161-3/+3
| * | do_for_each_entry_in_dir(): eliminate `offset` argumentMichael Haggerty2017-04-163-11/+10
| * | refs: handle "refs/bisect/" in `loose_fill_ref_dir()`Michael Haggerty2017-04-162-16/+15
| * | ref-cache: use a callback function to fill the cacheMichael Haggerty2017-04-163-13/+38
| * | refs: record the ref_store in ref_cache, not ref_dirMichael Haggerty2017-04-163-11/+16