summaryrefslogtreecommitdiff
path: root/refs
AgeCommit message (Expand)AuthorFilesLines
2017-01-07delete_ref_loose(): derive loose reference path from lockLibravatar Michael Haggerty1-4/+1
2017-01-07log_ref_write_1(): inline functionLibravatar Michael Haggerty1-10/+3
2017-01-07log_ref_setup(): manage the name of the reflog file internallyLibravatar Michael Haggerty1-35/+34
2017-01-07log_ref_write_1(): don't depend on logfile argumentLibravatar Michael Haggerty1-4/+8
2017-01-07log_ref_setup(): pass the open file descriptor back to the callerLibravatar Michael Haggerty1-17/+22
2017-01-07log_ref_setup(): improve robustness against racesLibravatar Michael Haggerty1-23/+18
2017-01-07log_ref_setup(): separate code for create vs non-createLibravatar Michael Haggerty1-20/+39
2017-01-07log_ref_write(): inline functionLibravatar Michael Haggerty1-14/+10
2017-01-07rename_tmp_log(): improve error reportingLibravatar Michael Haggerty1-3/+4
2017-01-07rename_tmp_log(): use raceproof_create_file()Libravatar Michael Haggerty1-43/+30
2017-01-07lock_ref_sha1_basic(): use raceproof_create_file()Libravatar Michael Haggerty1-26/+9
2017-01-07lock_ref_sha1_basic(): inline constantLibravatar Michael Haggerty1-2/+1
2017-01-07refname_is_safe(): correct docstringLibravatar Michael Haggerty1-5/+6
2017-01-07files_rename_ref(): tidy up whitespaceLibravatar Michael Haggerty1-1/+1
2016-10-17Merge branch 'jk/ref-symlink-loop'Libravatar Junio C Hamano1-1/+13
2016-10-10files_read_raw_ref: prevent infinite retry loops in generalLibravatar Jeff King1-0/+7
2016-10-10files_read_raw_ref: avoid infinite loop on broken symlinksLibravatar Jeff King1-1/+6
2016-09-29use QSORTLibravatar René Scharfe1-1/+1
2016-09-19Merge branch 'mh/ref-store'Libravatar Junio C Hamano2-293/+493
2016-09-09refs: implement iteration over only per-worktree refsLibravatar David Turner2-1/+13
2016-09-09refs: make lock genericLibravatar David Turner2-13/+14
2016-09-09refs: add method to rename refsLibravatar David Turner2-18/+10
2016-09-09refs: add methods to init refs dbLibravatar David Turner2-0/+21
2016-09-09refs: make delete_refs() virtualLibravatar David Turner2-2/+7
2016-09-09refs: add method for initial ref transaction commitLibravatar David Turner2-3/+6
2016-09-09refs: add methods for reflogLibravatar David Turner2-27/+87
2016-09-09refs: add method iterator_beginLibravatar Michael Haggerty2-13/+14
2016-09-09files_ref_iterator_begin(): take a ref_store argumentLibravatar Michael Haggerty2-6/+6
2016-09-09split_symref_update(): add a files_ref_store argumentLibravatar Michael Haggerty1-2/+4
2016-09-09lock_ref_sha1_basic(): add a files_ref_store argumentLibravatar Michael Haggerty1-11/+15
2016-09-09lock_ref_for_update(): add a files_ref_store argumentLibravatar Michael Haggerty1-5/+6
2016-09-09commit_ref_update(): add a files_ref_store argumentLibravatar Michael Haggerty1-6/+8
2016-09-09lock_raw_ref(): add a files_ref_store argumentLibravatar Michael Haggerty1-6/+8
2016-09-09repack_without_refs(): add a files_ref_store argumentLibravatar Michael Haggerty1-5/+7
2016-09-09refs: make peel_ref() virtualLibravatar Michael Haggerty2-2/+7
2016-09-09refs: make create_symref() virtualLibravatar Michael Haggerty2-1/+11
2016-09-09refs: make pack_refs() virtualLibravatar Michael Haggerty2-2/+8
2016-09-09refs: make verify_refname_available() virtualLibravatar Michael Haggerty2-6/+15
2016-09-09refs: make read_raw_ref() virtualLibravatar Michael Haggerty2-23/+27
2016-09-09resolve_gitlink_ref(): implement using resolve_ref_recursively()Libravatar Michael Haggerty1-67/+0
2016-09-09read_raw_ref(): take a (struct ref_store *) argumentLibravatar Michael Haggerty2-8/+19
2016-09-09resolve_gitlink_packed_ref(): remove functionLibravatar Michael Haggerty1-21/+5
2016-09-09resolve_packed_ref(): rename function from resolve_missing_loose_ref()Libravatar Michael Haggerty1-6/+5
2016-09-09refs: reorder definitionsLibravatar Michael Haggerty1-83/+83
2016-09-09refs: add a transaction_commit() methodLibravatar Ronnie Sahlberg2-4/+11
2016-09-09{lock,commit,rollback}_packed_refs(): add files_ref_store argumentsLibravatar Michael Haggerty1-16/+16
2016-09-09resolve_missing_loose_ref(): add a files_ref_store argumentLibravatar Michael Haggerty1-6/+6
2016-09-09get_packed_ref(): add a files_ref_store argumentLibravatar Michael Haggerty1-7/+9
2016-09-09add_packed_ref(): add a files_ref_store argumentLibravatar Michael Haggerty1-4/+5
2016-09-09refs: create a base class "ref_store" for files_ref_storeLibravatar Michael Haggerty2-78/+177