31 Commits (49416ad22aa917178f306859a5bab60311166a9f)

Author SHA1 Message Date
David Turner 41d796ed5c refs: on symref reflog expire, lock symref not referrent 9 years ago
David Turner 2d0663b216 refs: move resolve_ref_unsafe into common code 9 years ago
Michael Haggerty 89e8238965 read_raw_ref(): change flags parameter to unsigned int 9 years ago
Michael Haggerty 8c346fb1d7 files-backend: inline resolve_ref_1() into resolve_ref_unsafe() 9 years ago
Michael Haggerty 42a38cf788 read_raw_ref(): manage own scratch space 9 years ago
David Turner 7048653a73 files-backend: break out ref reading 9 years ago
Michael Haggerty afbe782fa3 resolve_ref_1(): eliminate local variable "bad_name" 9 years ago
Michael Haggerty e6702e570b resolve_ref_1(): reorder code 9 years ago
Michael Haggerty 90c28ae11c resolve_ref_1(): eliminate local variable 9 years ago
Michael Haggerty a70a93b794 resolve_ref_unsafe(): ensure flags is always set 9 years ago
Michael Haggerty 37da4227b2 resolve_ref_unsafe(): use for loop to count up to MAXDEPTH 9 years ago
Michael Haggerty 419c6f4c76 resolve_missing_loose_ref(): simplify semantics 9 years ago
David Turner 937705901b refs: move for_each_*ref* functions into common code 9 years ago
David Turner 2bf68ed5aa refs: move head_ref{,_submodule} to the common code 9 years ago
Kazuki Yamaguchi 18eb3a9ce7 set_worktree_head_symref(): fix error message 9 years ago
Kazuki Yamaguchi 2233066e77 refs: add a new function set_worktree_head_symref 9 years ago
Jeff King 96ffc06f72 convert trivial cases to FLEX_ARRAY macros 9 years ago
Jeff King a2d5156c2b resolve_gitlink_ref: ignore non-repository paths 9 years ago
Jeff King 2859dcd4c8 lock_ref_sha1_basic: handle REF_NODEREF with invalid refs 9 years ago
Jeff King 6294dcb49f lock_ref_sha1_basic: always fill old_oid while holding lock 9 years ago
Jeff King 396da8f7a0 create_symref: write reflog while holding lock 9 years ago
Jeff King 370e5ad65e create_symref: use existing ref-lock code 9 years ago
Jeff King b9badadd06 create_symref: modernize variable names 9 years ago
David Turner 0845122c39 refs: break out ref conflict checks 9 years ago
David Turner 5f3c3a4e6f files_log_ref_write: new function 9 years ago
Michael Haggerty 7bd9bcf372 refs: split filesystem-based refs code into a new file 9 years ago
Michael Haggerty 4cb77009e1 refs/refs-internal.h: new header file 9 years ago