summaryrefslogtreecommitdiff
path: root/refs
Commit message (Expand)AuthorAgeFilesLines
* files_read_raw_ref: prevent infinite retry loops in generaljk/ref-symlink-loopJeff King2016-10-101-0/+7
* files_read_raw_ref: avoid infinite loop on broken symlinksJeff King2016-10-101-1/+6
* Merge branch 'mh/ref-iterators'Junio C Hamano2016-07-253-254/+987
|\
| * for_each_reflog(): reimplement using iteratorsmh/ref-iteratorsMichael Haggerty2016-06-202-42/+78
| * for_each_reflog(): don't abort for bad referencesMichael Haggerty2016-06-201-1/+1
| * do_for_each_ref(): reimplement using reference iterationMichael Haggerty2016-06-203-213/+57
| * refs: introduce an iterator interfaceMichael Haggerty2016-06-203-0/+830
| * ref_resolves_to_object(): new functionMichael Haggerty2016-06-201-7/+20
| * entry_resolves_to_object(): rename function from ref_resolves_to_object()Michael Haggerty2016-06-201-3/+3
| * get_ref_cache(): only create an instance if there is a submoduleMichael Haggerty2016-06-201-11/+22
| * delete_refs(): add a flags argumentMichael Haggerty2016-06-201-2/+2
| * refs: use name "prefix" consistentlyMichael Haggerty2016-06-202-19/+19
| * do_for_each_ref(): move docstring to the header fileMichael Haggerty2016-06-202-10/+9
* | Merge branch 'mh/update-ref-errors'Junio C Hamano2016-07-251-32/+42
|\ \
| * | lock_ref_for_update(): avoid a symref resolutionmh/update-ref-errorsMichael Haggerty2016-06-201-1/+1
| * | lock_ref_for_update(): make error handling more uniformMichael Haggerty2016-06-201-32/+42
| |/
* | Merge branch 'mh/split-under-lock'Junio C Hamano2016-07-252-217/+808
|\ \ | |/
| * lock_ref_sha1_basic(): only handle REF_NODEREF modemh/split-under-lockMichael Haggerty2016-06-131-34/+20
| * commit_ref_update(): remove the flags parameterMichael Haggerty2016-06-131-7/+7
| * lock_ref_for_update(): don't resolve symrefsMichael Haggerty2016-06-132-30/+95
| * lock_ref_for_update(): don't re-read non-symbolic referencesMichael Haggerty2016-06-131-18/+30
| * refs: resolve symbolic refs firstMichael Haggerty2016-06-132-40/+479
| * unlock_ref(): move definition higher in the fileMichael Haggerty2016-06-131-10/+10
| * lock_ref_for_update(): new functionMichael Haggerty2016-06-131-67/+85
| * add_update(): initialize the whole ref_updateMichael Haggerty2016-06-131-0/+14
| * verify_refname_available(): adjust constness in declarationMichael Haggerty2016-06-132-4/+4
| * refs: don't dereference on renameDavid Turner2016-06-131-5/+16
| * refs: allow log-only updatesDavid Turner2016-06-132-6/+17
| * ref_transaction_commit(): correctly report close_ref() failureMichael Haggerty2016-06-131-0/+1
| * ref_transaction_create(): disallow recursive pruningMichael Haggerty2016-06-132-2/+2
| * refs: make error messages more consistentMichael Haggerty2016-06-131-16/+16
| * lock_ref_sha1_basic(): remove unneeded local variableMichael Haggerty2016-06-131-6/+3
| * read_raw_ref(): move docstring to header fileMichael Haggerty2016-06-132-38/+38
| * read_raw_ref(): improve docstringMichael Haggerty2016-06-131-17/+24
| * read_raw_ref(): rename symref argument to referentMichael Haggerty2016-06-132-11/+12
| * read_raw_ref(): clear *type at start of functionMichael Haggerty2016-06-131-0/+1
| * read_raw_ref(): rename flags argument to typeMichael Haggerty2016-06-132-10/+10
| * ref_transaction_commit(): remove local variables n and updatesMichael Haggerty2016-06-131-22/+20
| * rename_ref(): remove unneeded local variableMichael Haggerty2016-05-051-6/+3
| * commit_ref_update(): write error message to *err, not stderrMichael Haggerty2016-05-051-1/+1
| * read_raw_ref(): don't get confused by an empty directoryMichael Haggerty2016-05-051-1/+10
| * commit_ref(): if there is an empty dir in the way, delete itMichael Haggerty2016-05-051-0/+24
* | coccinelle: apply object_id Coccinelle transformationsbrian m. carlson2016-06-281-2/+2
|/
* Merge branch 'dt/pre-refs-backend'Junio C Hamano2016-04-252-268/+153
|\
| * refs: on symref reflog expire, lock symref not referrentdt/pre-refs-backendDavid Turner2016-04-101-1/+2
| * refs: move resolve_ref_unsafe into common codeDavid Turner2016-04-102-79/+9
| * read_raw_ref(): change flags parameter to unsigned intMichael Haggerty2016-04-101-3/+3
| * files-backend: inline resolve_ref_1() into resolve_ref_unsafe()Michael Haggerty2016-04-101-22/+9
| * read_raw_ref(): manage own scratch spaceMichael Haggerty2016-04-101-35/+41
| * files-backend: break out ref readingDavid Turner2016-04-101-99/+145