938 Commits (5d3635db19c6dff4fb063fabfa4161fd3b8285f0)

Author SHA1 Message Date
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
Michael Haggerty 1d455231a0 write_ref_to_lockfile(): new function, extracted from write_ref_sha1() 10 years ago
Michael Haggerty c628edfddb reflog_expire(): integrate lock_ref_sha1_basic() errors into ours 10 years ago
Michael Haggerty 3553944aa8 ref_transaction_commit(): delete extra "the" from error message 10 years ago
Michael Haggerty cbaabcbc6f ref_transaction_commit(): provide better error messages 10 years ago
Michael Haggerty abeef9c856 rename_ref(): integrate lock_ref_sha1_basic() errors into ours 10 years ago
Michael Haggerty 5b2d8d6f21 lock_ref_sha1_basic(): improve diagnostics for ref D/F conflicts 10 years ago
Michael Haggerty 4a32b2e08b lock_ref_sha1_basic(): report errors via a "struct strbuf *err" 10 years ago
Michael Haggerty 1146f17e2c verify_refname_available(): report errors via a "struct strbuf *err" 10 years ago
Michael Haggerty 5baf37d383 verify_refname_available(): rename function 10 years ago
Michael Haggerty e911104c84 refs: check for D/F conflicts among refs created in a transaction 10 years ago
Michael Haggerty 07f9c881d6 ref_transaction_commit(): use a string_list for detecting duplicates 10 years ago
Michael Haggerty 61da596992 is_refname_available(): use dirname in first loop 10 years ago
Michael Haggerty 521331cc9f struct nonmatching_ref_data: store a refname instead of a ref_entry 10 years ago
Michael Haggerty 385e8af5a2 report_refname_conflict(): inline function 10 years ago
Michael Haggerty 8bfac19ab4 entry_matches(): inline function 10 years ago
Michael Haggerty 6075f3076e is_refname_available(): convert local variable "dirname" to strbuf 10 years ago
Michael Haggerty 9ef6eaa287 is_refname_available(): avoid shadowing "dir" variable 10 years ago