summaryrefslogtreecommitdiffstats
path: root/refs
AgeCommit message (Expand)AuthorLines
2017-09-14convert less-trivial versions of "write_in_full() != len"Jeff King-1/+1
2017-09-14avoid "write_in_full(fd, buf, len) != len" patternJeff King-4/+4
2017-06-26Merge branch 'mh/packed-ref-store-prep'Junio C Hamano-9/+23
2017-06-24Merge branch 'ab/free-and-null'Junio C Hamano-4/+2
2017-06-24Merge branch 'bw/config-h'Junio C Hamano-0/+1
2017-06-16*.[ch] refactoring: make use of the FREE_AND_NULL() macroÆvar Arnfjörð Bjarmason-2/+1
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason-2/+1
2017-06-15config: don't include config.h by defaultBrandon Williams-0/+1
2017-06-12lock_packed_refs(): fix cache validity checkMichael Haggerty-9/+23
2017-05-24cache_ref_iterator_begin(): avoid priming unneeded directoriesMichael Haggerty-10/+85
2017-05-23create_ref_entry(): remove `check_name` optionMichael Haggerty-11/+10
2017-05-23refs_ref_iterator_begin(): handle `GIT_REF_PARANOIA`Michael Haggerty-7/+4
2017-05-23read_packed_refs(): report unexpected fopen() failuresMichael Haggerty-2/+12
2017-05-23read_packed_refs(): do more of the work of reading packed refsMichael Haggerty-17/+26
2017-05-23get_packed_ref_cache(): assume "packed-refs" won't change while lockedMichael Haggerty-5/+11
2017-05-23should_pack_ref(): new function, extracted from `files_pack_refs()`Michael Haggerty-14/+28
2017-05-23ref_update_reject_duplicates(): expose function to whole refs moduleMichael Haggerty-17/+8
2017-05-23ref_transaction_prepare(): new optional step for reference updatesMichael Haggerty-23/+85
2017-05-23ref_transaction_commit(): check for valid `transaction->state`Michael Haggerty-3/+0
2017-05-23files_transaction_cleanup(): new helper functionMichael Haggerty-9/+24
2017-05-23files_ref_store: put the packed files lock directly in this structMichael Haggerty-18/+11
2017-05-23files-backend: move `lock` member to `files_ref_store`Michael Haggerty-19/+17
2017-05-23ref_store: take a `msg` parameter when deleting referencesMichael Haggerty-3/+3
2017-05-23refs: use `size_t` indexes when iterating over ref transaction updatesMichael Haggerty-2/+4
2017-05-23prefix_ref_iterator: don't trim too muchMichael Haggerty-1/+17
2017-05-23files-backend: use `die("BUG: ...")`, not `die("internal error: ...")`Michael Haggerty-4/+4
2017-05-23ref_iterator_begin_fn(): fix docstringMichael Haggerty-3/+4
2017-05-23Merge branch 'bc/object-id'Junio C Hamano-87/+79
2017-05-16Merge branch 'js/larger-timestamps'Junio C Hamano-4/+4
2017-05-16Merge branch 'nd/worktree-kill-parse-ref'Junio C Hamano-44/+4
2017-05-08object: convert parse_object* to take struct object_idbrian m. carlson-1/+1
2017-05-08refs/files-backend: convert many internals to struct object_idbrian m. carlson-72/+60
2017-05-08refs: convert struct ref_update to use struct object_idbrian m. carlson-16/+17
2017-05-08reflog_expire: convert to struct object_idbrian m. carlson-2/+5
2017-04-27timestamp_t: a new data type for timestampsJohannes Schindelin-2/+2
2017-04-26Merge branch 'mh/separate-ref-cache'Junio C Hamano-1082/+959
2017-04-24refs: kill set_worktree_head_symref()Nguyễn Thái Ngọc Duy-44/+0
2017-04-24refs: add REFS_STORE_ALL_CAPSNguyễn Thái Ngọc Duy-0/+4
2017-04-23Merge branch 'rs/misc-cppcheck-fixes'Junio C Hamano-8/+12
2017-04-23PRItime: introduce a new "printf format" for timestampsJohannes Schindelin-1/+1
2017-04-23parse_timestamp(): specify explicitly where we parse timestampsJohannes Schindelin-1/+1
2017-04-17files_for_each_reflog_ent_reverse(): close stream and free strbuf on errorRené Scharfe-8/+12
2017-04-16do_for_each_entry_in_dir(): delete functionMichael Haggerty-32/+0
2017-04-16files_pack_refs(): use reference iterationMichael Haggerty-83/+60
2017-04-16commit_packed_refs(): use reference iterationMichael Haggerty-21/+17
2017-04-16cache_ref_iterator_begin(): make function smarterMichael Haggerty-53/+56
2017-04-16get_loose_ref_cache(): new functionMichael Haggerty-2/+7
2017-04-16get_loose_ref_dir(): function renamed from get_loose_refs()Michael Haggerty-3/+3
2017-04-16do_for_each_entry_in_dir(): eliminate `offset` argumentMichael Haggerty-11/+10
2017-04-16refs: handle "refs/bisect/" in `loose_fill_ref_dir()`Michael Haggerty-16/+15