818 Commits (3ea6b85a871aa41eaa66a2919451ad12d492c355)

Author SHA1 Message Date
Jeff King fcd12db6af prefer git_pathdup to git_path in some possibly-dangerous cases 10 years ago
Michael Haggerty b4fb09e4da lockfile: add accessor get_lock_file_path() 10 years ago
Michael Haggerty c99a4c2db3 lockfile: add accessors get_lock_file_fd() and get_lock_file_fp() 10 years ago
Jeff King 2bc31d1631 refs: support negative transfer.hideRefs 10 years ago
David Turner 74ec19d4be pseudorefs: create and use pseudoref update and delete functions 10 years ago
David Turner 266b18273a refs: add ref_type function 10 years ago
Jacob Keller cd377f45c9 refs: loosen restriction on wildcard "*" refspecs 10 years ago
Jacob Keller 53a8555ee4 refs: cleanup comments regarding check_refname_component() 10 years ago
David Turner 0f2a71d992 refs: add REF_FORCE_CREATE_REFLOG flag 10 years ago
David Turner abd0cd3a30 refs: new public ref function: safe_create_reflog 10 years ago
David Turner 4e2bef57c9 refs: break out check for reflog autocreation 10 years ago
David Turner a4c653dfcd refs.c: add err arguments to reflog functions 10 years ago
Jeff King a5481a6c94 convert "enum date_mode" into a struct 10 years ago
Michael Haggerty 1c03c4d347 delete_ref(): use the usual convention for old_sha1 10 years ago
Michael Haggerty fb58c8d507 refs: move the remaining ref module declarations to refs.h 10 years ago
Michael Haggerty e426ff4222 initial_ref_transaction_commit(): check for ref D/F conflicts 10 years ago
Michael Haggerty fb802b3129 initial_ref_transaction_commit(): check for duplicate refs 10 years ago
Michael Haggerty 0a4b24ff14 refs: remove some functions from the module's public interface 10 years ago
Michael Haggerty 58f233ce1e initial_ref_transaction_commit(): function for initial ref creation 10 years ago
Michael Haggerty 79e4d8a9b8 repack_without_refs(): make function private 10 years ago
Michael Haggerty 7fa7dc8904 delete_refs(): bail early if the packed-refs file cannot be rewritten 10 years ago
Michael Haggerty 5d97861b9b delete_refs(): make error message more generic 10 years ago
Michael Haggerty 98ffd5ff67 delete_refs(): new function for the refs API 10 years ago
Michael Haggerty fc67a0825c delete_ref(): handle special case more explicitly 10 years ago
Michael Haggerty fc1c21689d delete_ref(): move declaration to refs.h 10 years ago
Mike Hommey 58d121b22b Allow to control where the replace refs are looked for 10 years ago
Michael Haggerty 501cf47cdd read_loose_refs(): treat NULL_SHA1 loose references as broken 10 years ago
Michael Haggerty f5517074f8 read_loose_refs(): simplify function logic 10 years ago
Michael Haggerty c2e0a718c6 ref_transaction_commit(): do not capitalize error messages 10 years ago
Michael Haggerty 000f0da57a verify_lock(): do not capitalize error messages 10 years ago
Michael Haggerty 33ffc176d6 verify_lock(): report errors via a strbuf 10 years ago
Michael Haggerty f41d632970 verify_lock(): on errors, let the caller unlock the lock 10 years ago
Michael Haggerty a5e2499e54 verify_lock(): return 0/-1 rather than struct ref_lock * 10 years ago
Michael Haggerty 5cb901a4b0 struct ref_lock: convert old_sha1 member to object_id 10 years ago
Michael Haggerty 4e675d1732 warn_if_dangling_symref(): convert local variable "junk" to object_id 10 years ago
Michael Haggerty 0a0c953217 each_ref_fn_adapter(): remove adapter 10 years ago
Michael Haggerty 2b2a5be394 each_ref_fn: change to take an object_id parameter 10 years ago
brian m. carlson 8353847e85 refs: convert struct ref_entry to use struct object_id 10 years ago
Michael Haggerty f4ab4f3ab1 lock_packed_refs(): allow retries when acquiring the packed-refs lock 10 years ago
Michael Haggerty cf018ee0cd ref_transaction_commit(): fix atomicity and avoid fd exhaustion 10 years ago
Michael Haggerty cbf50f9e3d ref_transaction_commit(): remove the local flags variable 10 years ago
Michael Haggerty 61e51e0000 ref_transaction_commit(): inline call to write_ref_sha1() 10 years ago
Michael Haggerty ba43b7f29c rename_ref(): inline calls to write_ref_sha1() from this function 10 years ago
Michael Haggerty ad4cd6c297 commit_ref_update(): new function, extracted from write_ref_sha1() 10 years ago
Michael Haggerty e6fd3c6730 write_ref_to_lockfile(): new function, extracted from write_ref_sha1() 10 years ago
Michael Haggerty 6c34492ab4 ref_transaction_commit(): fix atomicity and avoid fd exhaustion 10 years ago
Michael Haggerty 805cf6e938 ref_transaction_commit(): remove the local flags variable 10 years ago
Michael Haggerty 4da50def5b ref_transaction_commit(): inline call to write_ref_sha1() 10 years ago
Michael Haggerty 29957fda0b rename_ref(): inline calls to write_ref_sha1() from this function 10 years ago
Michael Haggerty 38e50e81e3 commit_ref_update(): new function, extracted from write_ref_sha1() 10 years ago