summaryrefslogtreecommitdiff
path: root/refs/files-backend.c
AgeCommit message (Expand)AuthorFilesLines
2016-07-25Merge branch 'mh/ref-iterators'Libravatar Junio C Hamano1-251/+380
2016-07-25Merge branch 'mh/update-ref-errors'Libravatar Junio C Hamano1-32/+42
2016-07-25Merge branch 'mh/split-under-lock'Libravatar Junio C Hamano1-211/+719
2016-06-28coccinelle: apply object_id Coccinelle transformationsLibravatar brian m. carlson1-2/+2
2016-06-20lock_ref_for_update(): avoid a symref resolutionLibravatar Michael Haggerty1-1/+1
2016-06-20lock_ref_for_update(): make error handling more uniformLibravatar Michael Haggerty1-32/+42
2016-06-20for_each_reflog(): reimplement using iteratorsLibravatar Michael Haggerty1-42/+71
2016-06-20for_each_reflog(): don't abort for bad referencesLibravatar Michael Haggerty1-1/+1
2016-06-20do_for_each_ref(): reimplement using reference iterationLibravatar Michael Haggerty1-201/+5
2016-06-20refs: introduce an iterator interfaceLibravatar Michael Haggerty1-0/+281
2016-06-20ref_resolves_to_object(): new functionLibravatar Michael Haggerty1-7/+20
2016-06-20entry_resolves_to_object(): rename function from ref_resolves_to_object()Libravatar Michael Haggerty1-3/+3
2016-06-20get_ref_cache(): only create an instance if there is a submoduleLibravatar Michael Haggerty1-11/+22
2016-06-20delete_refs(): add a flags argumentLibravatar Michael Haggerty1-2/+2
2016-06-20refs: use name "prefix" consistentlyLibravatar Michael Haggerty1-12/+12
2016-06-20do_for_each_ref(): move docstring to the header fileLibravatar Michael Haggerty1-9/+0
2016-06-13lock_ref_sha1_basic(): only handle REF_NODEREF modeLibravatar Michael Haggerty1-34/+20
2016-06-13commit_ref_update(): remove the flags parameterLibravatar Michael Haggerty1-7/+7
2016-06-13lock_ref_for_update(): don't resolve symrefsLibravatar Michael Haggerty1-30/+78
2016-06-13lock_ref_for_update(): don't re-read non-symbolic referencesLibravatar Michael Haggerty1-18/+30
2016-06-13refs: resolve symbolic refs firstLibravatar Michael Haggerty1-38/+470
2016-06-13unlock_ref(): move definition higher in the fileLibravatar Michael Haggerty1-10/+10
2016-06-13lock_ref_for_update(): new functionLibravatar Michael Haggerty1-67/+85
2016-06-13verify_refname_available(): adjust constness in declarationLibravatar Michael Haggerty1-2/+2
2016-06-13refs: don't dereference on renameLibravatar David Turner1-5/+16
2016-06-13refs: allow log-only updatesLibravatar David Turner1-6/+10
2016-06-13ref_transaction_commit(): correctly report close_ref() failureLibravatar Michael Haggerty1-0/+1
2016-06-13ref_transaction_create(): disallow recursive pruningLibravatar Michael Haggerty1-1/+1
2016-06-13refs: make error messages more consistentLibravatar Michael Haggerty1-16/+16
2016-06-13lock_ref_sha1_basic(): remove unneeded local variableLibravatar Michael Haggerty1-6/+3
2016-06-13read_raw_ref(): move docstring to header fileLibravatar Michael Haggerty1-38/+0
2016-06-13read_raw_ref(): improve docstringLibravatar Michael Haggerty1-17/+24
2016-06-13read_raw_ref(): rename symref argument to referentLibravatar Michael Haggerty1-10/+11
2016-06-13read_raw_ref(): clear *type at start of functionLibravatar Michael Haggerty1-0/+1
2016-06-13read_raw_ref(): rename flags argument to typeLibravatar Michael Haggerty1-9/+9
2016-06-13ref_transaction_commit(): remove local variables n and updatesLibravatar Michael Haggerty1-22/+20
2016-05-05rename_ref(): remove unneeded local variableLibravatar Michael Haggerty1-6/+3
2016-05-05commit_ref_update(): write error message to *err, not stderrLibravatar Michael Haggerty1-1/+1
2016-05-05read_raw_ref(): don't get confused by an empty directoryLibravatar Michael Haggerty1-1/+10
2016-05-05commit_ref(): if there is an empty dir in the way, delete itLibravatar Michael Haggerty1-0/+24
2016-04-25Merge branch 'dt/pre-refs-backend'Libravatar Junio C Hamano1-268/+138
2016-04-10refs: on symref reflog expire, lock symref not referrentLibravatar David Turner1-1/+2
2016-04-10refs: move resolve_ref_unsafe into common codeLibravatar David Turner1-79/+3
2016-04-10read_raw_ref(): change flags parameter to unsigned intLibravatar Michael Haggerty1-3/+3
2016-04-10files-backend: inline resolve_ref_1() into resolve_ref_unsafe()Libravatar Michael Haggerty1-22/+9
2016-04-10read_raw_ref(): manage own scratch spaceLibravatar Michael Haggerty1-35/+41
2016-04-10files-backend: break out ref readingLibravatar David Turner1-99/+145
2016-04-10resolve_ref_1(): eliminate local variable "bad_name"Libravatar Michael Haggerty1-8/+5
2016-04-10resolve_ref_1(): reorder codeLibravatar Michael Haggerty1-2/+2
2016-04-10resolve_ref_1(): eliminate local variableLibravatar Michael Haggerty1-7/+6