summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2015-08-03Merge branch 'jk/date-mode-format'Libravatar Junio C Hamano1-2/+2
2015-08-03Merge branch 'mh/init-delete-refs-api'Libravatar Junio C Hamano1-13/+169
2015-08-03Merge branch 'mh/replace-refs'Libravatar Junio C Hamano1-1/+2
2015-06-29convert "enum date_mode" into a structLibravatar Jeff King1-2/+2
2015-06-24Merge branch 'mh/reporting-broken-refs-from-for-each-ref'Libravatar Junio C Hamano1-7/+22
2015-06-22delete_ref(): use the usual convention for old_sha1Libravatar Michael Haggerty1-8/+0
2015-06-22refs: move the remaining ref module declarations to refs.hLibravatar Michael Haggerty1-2/+4
2015-06-22initial_ref_transaction_commit(): check for ref D/F conflictsLibravatar Michael Haggerty1-0/+34
2015-06-22initial_ref_transaction_commit(): check for duplicate refsLibravatar Michael Haggerty1-0/+11
2015-06-22refs: remove some functions from the module's public interfaceLibravatar Michael Haggerty1-7/+24
2015-06-22initial_ref_transaction_commit(): function for initial ref creationLibravatar Michael Haggerty1-0/+47
2015-06-22repack_without_refs(): make function privateLibravatar Michael Haggerty1-1/+8
2015-06-22delete_refs(): bail early if the packed-refs file cannot be rewrittenLibravatar Michael Haggerty1-3/+22
2015-06-22delete_refs(): make error message more genericLibravatar Michael Haggerty1-1/+1
2015-06-22delete_refs(): new function for the refs APILibravatar Michael Haggerty1-0/+19
2015-06-22delete_ref(): handle special case more explicitlyLibravatar Michael Haggerty1-2/+9
2015-06-22delete_ref(): move declaration to refs.hLibravatar Michael Haggerty1-2/+3
2015-06-12Allow to control where the replace refs are looked forLibravatar Mike Hommey1-1/+2
2015-06-11Merge branch 'mh/verify-lock-error-report'Libravatar Junio C Hamano1-14/+26
2015-06-08read_loose_refs(): treat NULL_SHA1 loose references as brokenLibravatar Michael Haggerty1-0/+10
2015-06-03read_loose_refs(): simplify function logicLibravatar Michael Haggerty1-7/+12
2015-05-27ref_transaction_commit(): do not capitalize error messagesLibravatar Michael Haggerty1-2/+2
2015-05-27verify_lock(): do not capitalize error messagesLibravatar Michael Haggerty1-2/+2
2015-05-27verify_lock(): report errors via a strbufLibravatar Michael Haggerty1-7/+12
2015-05-27verify_lock(): on errors, let the caller unlock the lockLibravatar Michael Haggerty1-4/+4
2015-05-27verify_lock(): return 0/-1 rather than struct ref_lock *Libravatar Michael Haggerty1-7/+14
2015-05-25struct ref_lock: convert old_sha1 member to object_idLibravatar Michael Haggerty1-12/+12
2015-05-25warn_if_dangling_symref(): convert local variable "junk" to object_idLibravatar Michael Haggerty1-3/+3
2015-05-25each_ref_fn_adapter(): remove adapterLibravatar Michael Haggerty1-8/+0
2015-05-25each_ref_fn: change to take an object_id parameterLibravatar Michael Haggerty1-16/+26
2015-05-25refs: convert struct ref_entry to use struct object_idLibravatar brian m. carlson1-22/+22
2015-05-22Merge branch 'mh/lockfile-retry'Libravatar Junio C Hamano1-1/+11
2015-05-22Merge branch 'mh/ref-directory-file'Libravatar Junio C Hamano1-111/+198
2015-05-22Merge branch 'mh/write-refs-sooner-2.4'Libravatar Junio C Hamano1-31/+82
2015-05-19Merge branch 'sb/ref-lock-lose-lock-fd'Libravatar Junio C Hamano1-10/+5
2015-05-14lock_packed_refs(): allow retries when acquiring the packed-refs lockLibravatar Michael Haggerty1-1/+11
2015-05-12ref_transaction_commit(): fix atomicity and avoid fd exhaustionLibravatar Michael Haggerty1-21/+53
2015-05-12ref_transaction_commit(): remove the local flags variableLibravatar Michael Haggerty1-9/+9
2015-05-12ref_transaction_commit(): inline call to write_ref_sha1()Libravatar Michael Haggerty1-18/+7
2015-05-12rename_ref(): inline calls to write_ref_sha1() from this functionLibravatar Michael Haggerty1-4/+8
2015-05-12commit_ref_update(): new function, extracted from write_ref_sha1()Libravatar Michael Haggerty1-7/+20
2015-05-12write_ref_to_lockfile(): new function, extracted from write_ref_sha1()Libravatar Michael Haggerty1-4/+17
2015-05-11Merge branch 'jk/reading-packed-refs'Libravatar Junio C Hamano1-2/+4
2015-05-11Merge branch 'nd/multiple-work-trees'Libravatar Junio C Hamano1-13/+46
2015-05-11reflog_expire(): integrate lock_ref_sha1_basic() errors into oursLibravatar Michael Haggerty1-2/+2
2015-05-11ref_transaction_commit(): delete extra "the" from error messageLibravatar Michael Haggerty1-1/+1
2015-05-11ref_transaction_commit(): provide better error messagesLibravatar Michael Haggerty1-4/+6
2015-05-11rename_ref(): integrate lock_ref_sha1_basic() errors into oursLibravatar Michael Haggerty1-4/+2
2015-05-11lock_ref_sha1_basic(): improve diagnostics for ref D/F conflictsLibravatar Michael Haggerty1-4/+12
2015-05-11lock_ref_sha1_basic(): report errors via a "struct strbuf *err"Libravatar Michael Haggerty1-16/+28