aboutsummaryrefslogtreecommitdiffstats
path: root/refs (follow)
AgeCommit message (Expand)AuthorFilesLines
2016-06-28coccinelle: apply object_id Coccinelle transformationsbrian m. carlson1-2/+2
2016-06-20lock_ref_for_update(): avoid a symref resolutionMichael Haggerty1-1/+1
2016-06-20lock_ref_for_update(): make error handling more uniformMichael Haggerty1-32/+42
2016-06-20for_each_reflog(): reimplement using iteratorsMichael Haggerty2-42/+78
2016-06-20for_each_reflog(): don't abort for bad referencesMichael Haggerty1-1/+1
2016-06-20do_for_each_ref(): reimplement using reference iterationMichael Haggerty3-213/+57
2016-06-20refs: introduce an iterator interfaceMichael Haggerty3-0/+830
2016-06-20ref_resolves_to_object(): new functionMichael Haggerty1-7/+20
2016-06-20entry_resolves_to_object(): rename function from ref_resolves_to_object()Michael Haggerty1-3/+3
2016-06-20get_ref_cache(): only create an instance if there is a submoduleMichael Haggerty1-11/+22
2016-06-20delete_refs(): add a flags argumentMichael Haggerty1-2/+2
2016-06-20refs: use name "prefix" consistentlyMichael Haggerty2-19/+19
2016-06-20do_for_each_ref(): move docstring to the header fileMichael Haggerty2-10/+9
2016-06-13lock_ref_sha1_basic(): only handle REF_NODEREF modeMichael Haggerty1-34/+20
2016-06-13commit_ref_update(): remove the flags parameterMichael Haggerty1-7/+7
2016-06-13lock_ref_for_update(): don't resolve symrefsMichael Haggerty2-30/+95
2016-06-13lock_ref_for_update(): don't re-read non-symbolic referencesMichael Haggerty1-18/+30
2016-06-13refs: resolve symbolic refs firstMichael Haggerty2-40/+479
2016-06-13unlock_ref(): move definition higher in the fileMichael Haggerty1-10/+10
2016-06-13lock_ref_for_update(): new functionMichael Haggerty1-67/+85
2016-06-13add_update(): initialize the whole ref_updateMichael Haggerty1-0/+14
2016-06-13verify_refname_available(): adjust constness in declarationMichael Haggerty2-4/+4
2016-06-13refs: don't dereference on renameDavid Turner1-5/+16
2016-06-13refs: allow log-only updatesDavid Turner2-6/+17
2016-06-13ref_transaction_commit(): correctly report close_ref() failureMichael Haggerty1-0/+1
2016-06-13ref_transaction_create(): disallow recursive pruningMichael Haggerty2-2/+2
2016-06-13refs: make error messages more consistentMichael Haggerty1-16/+16
2016-06-13lock_ref_sha1_basic(): remove unneeded local variableMichael Haggerty1-6/+3
2016-06-13read_raw_ref(): move docstring to header fileMichael Haggerty2-38/+38
2016-06-13read_raw_ref(): improve docstringMichael Haggerty1-17/+24
2016-06-13read_raw_ref(): rename symref argument to referentMichael Haggerty2-11/+12
2016-06-13read_raw_ref(): clear *type at start of functionMichael Haggerty1-0/+1
2016-06-13read_raw_ref(): rename flags argument to typeMichael Haggerty2-10/+10
2016-06-13ref_transaction_commit(): remove local variables n and updatesMichael Haggerty1-22/+20
2016-05-05rename_ref(): remove unneeded local variableMichael Haggerty1-6/+3
2016-05-05commit_ref_update(): write error message to *err, not stderrMichael Haggerty1-1/+1
2016-05-05read_raw_ref(): don't get confused by an empty directoryMichael Haggerty1-1/+10
2016-05-05commit_ref(): if there is an empty dir in the way, delete itMichael Haggerty1-0/+24
2016-04-25Merge branch 'dt/pre-refs-backend'Junio C Hamano2-268/+153
2016-04-10refs: on symref reflog expire, lock symref not referrentDavid Turner1-1/+2
2016-04-10refs: move resolve_ref_unsafe into common codeDavid Turner2-79/+9
2016-04-10read_raw_ref(): change flags parameter to unsigned intMichael Haggerty1-3/+3
2016-04-10files-backend: inline resolve_ref_1() into resolve_ref_unsafe()Michael Haggerty1-22/+9
2016-04-10read_raw_ref(): manage own scratch spaceMichael Haggerty1-35/+41
2016-04-10files-backend: break out ref readingDavid Turner1-99/+145
2016-04-10resolve_ref_1(): eliminate local variable "bad_name"Michael Haggerty1-8/+5
2016-04-10resolve_ref_1(): reorder codeMichael Haggerty1-2/+2
2016-04-10resolve_ref_1(): eliminate local variableMichael Haggerty1-7/+6
2016-04-10resolve_ref_unsafe(): ensure flags is always setMichael Haggerty1-18/+13
2016-04-10resolve_ref_unsafe(): use for loop to count up to MAXDEPTHMichael Haggerty1-7/+6