summaryrefslogtreecommitdiff
path: root/refs
AgeCommit message (Expand)AuthorFilesLines
2016-06-13refs: don't dereference on renameLibravatar David Turner1-5/+16
2016-06-13refs: allow log-only updatesLibravatar David Turner2-6/+17
2016-06-13ref_transaction_commit(): correctly report close_ref() failureLibravatar Michael Haggerty1-0/+1
2016-06-13ref_transaction_create(): disallow recursive pruningLibravatar Michael Haggerty2-2/+2
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 Haggerty2-38/+38
2016-06-13read_raw_ref(): improve docstringLibravatar Michael Haggerty1-17/+24
2016-06-13read_raw_ref(): rename symref argument to referentLibravatar Michael Haggerty2-11/+12
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 Haggerty2-10/+10
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 Hamano2-268/+153
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 Turner2-79/+9
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
2016-04-10resolve_ref_unsafe(): ensure flags is always setLibravatar Michael Haggerty1-18/+13
2016-04-10resolve_ref_unsafe(): use for loop to count up to MAXDEPTHLibravatar Michael Haggerty1-7/+6
2016-04-10resolve_missing_loose_ref(): simplify semanticsLibravatar Michael Haggerty1-14/+10
2016-04-10refs: move for_each_*ref* functions into common codeLibravatar David Turner2-57/+14
2016-04-10refs: move head_ref{,_submodule} to the common codeLibravatar David Turner1-28/+0
2016-04-08set_worktree_head_symref(): fix error messageLibravatar Kazuki Yamaguchi1-1/+2
2016-04-04refs: add a new function set_worktree_head_symrefLibravatar Kazuki Yamaguchi1-0/+35
2016-02-26Merge branch 'jk/tighten-alloc'Libravatar Junio C Hamano1-14/+5
2016-02-22convert trivial cases to FLEX_ARRAY macrosLibravatar Jeff King1-14/+5
2016-02-03Merge branch 'jk/ref-cache-non-repository-optim'Libravatar Junio C Hamano1-14/+32
2016-01-25resolve_gitlink_ref: ignore non-repository pathsLibravatar Jeff King1-14/+32
2016-01-13lock_ref_sha1_basic: handle REF_NODEREF with invalid refsLibravatar Jeff King1-9/+10
2016-01-13lock_ref_sha1_basic: always fill old_oid while holding lockLibravatar Jeff King1-6/+11
2015-12-29create_symref: write reflog while holding lockLibravatar Jeff King1-1/+2
2015-12-29create_symref: use existing ref-lock codeLibravatar Jeff King1-55/+54
2015-12-29create_symref: modernize variable namesLibravatar Jeff King1-21/+20
2015-12-11Merge branch 'sg/lock-file-commit-error'Libravatar Junio C Hamano1-1/+1
2015-11-20refs: break out ref conflict checksLibravatar David Turner2-42/+23
2015-11-20files_log_ref_write: new functionLibravatar David Turner2-0/+12
2015-11-20refs: split filesystem-based refs code into a new fileLibravatar Michael Haggerty1-0/+3539
2015-11-20refs/refs-internal.h: new header fileLibravatar Michael Haggerty1-0/+180