summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2015-06-24Merge branch 'mh/reporting-broken-refs-from-for-each-ref'Junio C Hamano1-7/+22
2015-06-11Merge branch 'mh/verify-lock-error-report'Junio C Hamano1-14/+26
2015-06-08read_loose_refs(): treat NULL_SHA1 loose references as brokenMichael Haggerty1-0/+10
2015-06-03read_loose_refs(): simplify function logicMichael Haggerty1-7/+12
2015-05-27ref_transaction_commit(): do not capitalize error messagesMichael Haggerty1-2/+2
2015-05-27verify_lock(): do not capitalize error messagesMichael Haggerty1-2/+2
2015-05-27verify_lock(): report errors via a strbufMichael Haggerty1-7/+12
2015-05-27verify_lock(): on errors, let the caller unlock the lockMichael Haggerty1-4/+4
2015-05-27verify_lock(): return 0/-1 rather than struct ref_lock *Michael Haggerty1-7/+14
2015-05-25struct ref_lock: convert old_sha1 member to object_idMichael Haggerty1-12/+12
2015-05-25warn_if_dangling_symref(): convert local variable "junk" to object_idMichael Haggerty1-3/+3
2015-05-25each_ref_fn_adapter(): remove adapterMichael Haggerty1-8/+0
2015-05-25each_ref_fn: change to take an object_id parameterMichael Haggerty1-16/+26
2015-05-25refs: convert struct ref_entry to use struct object_idbrian m. carlson1-22/+22
2015-05-22Merge branch 'mh/lockfile-retry'Junio C Hamano1-1/+11
2015-05-22Merge branch 'mh/ref-directory-file'Junio C Hamano1-111/+198
2015-05-22Merge branch 'mh/write-refs-sooner-2.4'Junio C Hamano1-31/+82
2015-05-19Merge branch 'sb/ref-lock-lose-lock-fd'Junio C Hamano1-10/+5
2015-05-14lock_packed_refs(): allow retries when acquiring the packed-refs lockMichael Haggerty1-1/+11
2015-05-12ref_transaction_commit(): fix atomicity and avoid fd exhaustionMichael Haggerty1-21/+53
2015-05-12ref_transaction_commit(): remove the local flags variableMichael Haggerty1-9/+9
2015-05-12ref_transaction_commit(): inline call to write_ref_sha1()Michael Haggerty1-18/+7
2015-05-12rename_ref(): inline calls to write_ref_sha1() from this functionMichael Haggerty1-4/+8
2015-05-12commit_ref_update(): new function, extracted from write_ref_sha1()Michael Haggerty1-7/+20
2015-05-12write_ref_to_lockfile(): new function, extracted from write_ref_sha1()Michael Haggerty1-4/+17
2015-05-11Merge branch 'jk/reading-packed-refs'Junio C Hamano1-2/+4
2015-05-11Merge branch 'nd/multiple-work-trees'Junio C Hamano1-13/+46
2015-05-11reflog_expire(): integrate lock_ref_sha1_basic() errors into oursMichael Haggerty1-2/+2
2015-05-11ref_transaction_commit(): delete extra "the" from error messageMichael Haggerty1-1/+1
2015-05-11ref_transaction_commit(): provide better error messagesMichael Haggerty1-4/+6
2015-05-11rename_ref(): integrate lock_ref_sha1_basic() errors into oursMichael Haggerty1-4/+2
2015-05-11lock_ref_sha1_basic(): improve diagnostics for ref D/F conflictsMichael Haggerty1-4/+12
2015-05-11lock_ref_sha1_basic(): report errors via a "struct strbuf *err"Michael Haggerty1-16/+28
2015-05-11verify_refname_available(): report errors via a "struct strbuf *err"Michael Haggerty1-20/+30
2015-05-11verify_refname_available(): rename functionMichael Haggerty1-17/+20
2015-05-11refs: check for D/F conflicts among refs created in a transactionMichael Haggerty1-61/+93
2015-05-11ref_transaction_commit(): use a string_list for detecting duplicatesMichael Haggerty1-14/+11
2015-05-11is_refname_available(): use dirname in first loopMichael Haggerty1-14/+26
2015-05-11struct nonmatching_ref_data: store a refname instead of a ref_entryMichael Haggerty1-3/+4
2015-05-11report_refname_conflict(): inline functionMichael Haggerty1-8/+2
2015-05-11entry_matches(): inline functionMichael Haggerty1-7/+2
2015-05-11is_refname_available(): convert local variable "dirname" to strbufMichael Haggerty1-7/+5
2015-05-11is_refname_available(): avoid shadowing "dir" variableMichael Haggerty1-2/+2
2015-05-11is_refname_available(): revamp the commentsMichael Haggerty1-22/+47
2015-05-10refs.c: remove lock_fd from struct ref_lockStefan Beller1-10/+5
2015-04-16read_packed_refs: avoid double-checking sane refsJeff King1-2/+4
2015-03-25Merge branch 'jk/prune-with-corrupt-refs'Junio C Hamano1-66/+6
2015-03-20refs.c: drop curate_packed_refsJeff King1-66/+1
2015-03-20refs: introduce a "ref paranoia" flagJeff King1-0/+5
2015-03-10Merge branch 'mh/expire-updateref-fixes'Junio C Hamano1-28/+37