summaryrefslogtreecommitdiff
path: root/refs
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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
* 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
| * resolve_ref_1(): eliminate local variable "bad_name"Michael Haggerty2016-04-101-8/+5
| * resolve_ref_1(): reorder codeMichael Haggerty2016-04-101-2/+2
| * resolve_ref_1(): eliminate local variableMichael Haggerty2016-04-101-7/+6
| * resolve_ref_unsafe(): ensure flags is always setMichael Haggerty2016-04-101-18/+13
| * resolve_ref_unsafe(): use for loop to count up to MAXDEPTHMichael Haggerty2016-04-101-7/+6
| * resolve_missing_loose_ref(): simplify semanticsMichael Haggerty2016-04-101-14/+10
| * refs: move for_each_*ref* functions into common codeDavid Turner2016-04-102-57/+14
| * refs: move head_ref{,_submodule} to the common codeDavid Turner2016-04-101-28/+0
* | set_worktree_head_symref(): fix error messageky/branch-m-worktreeKazuki Yamaguchi2016-04-081-1/+2
* | refs: add a new function set_worktree_head_symrefKazuki Yamaguchi2016-04-041-0/+35
|/
* Merge branch 'jk/tighten-alloc'Junio C Hamano2016-02-261-14/+5
|\
| * convert trivial cases to FLEX_ARRAY macrosJeff King2016-02-221-14/+5
* | Merge branch 'jk/ref-cache-non-repository-optim'Junio C Hamano2016-02-031-14/+32
|\ \ | |/
| * resolve_gitlink_ref: ignore non-repository pathsjk/ref-cache-non-repository-optimJeff King2016-01-251-14/+32
* | lock_ref_sha1_basic: handle REF_NODEREF with invalid refsjk/symbolic-refJeff King2016-01-131-9/+10