818 Commits (3ea6b85a871aa41eaa66a2919451ad12d492c355)

Author SHA1 Message Date
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
Michael Haggerty 49e818762a is_refname_available(): revamp the comments 10 years ago
Stefan Beller 1238ac8c5d refs.c: remove lock_fd from struct ref_lock 10 years ago
Jeff King 03afcbee9b read_packed_refs: avoid double-checking sane refs 10 years ago
Jeff King ea56c4e02f refs.c: drop curate_packed_refs 10 years ago
Jeff King 49672f26d9 refs: introduce a "ref paranoia" flag 10 years ago
Michael Haggerty 423c688b85 reflog_expire(): never update a reference to null_sha1 10 years ago
Michael Haggerty 5e6f003ca8 reflog_expire(): ignore --updateref for symbolic references 10 years ago
Stefan Beller 5a6f47077b struct ref_lock: delete the force_write member 10 years ago
Michael Haggerty 074336e5ed lock_ref_sha1_basic(): do not set force_write for missing references 10 years ago
Michael Haggerty 706d5f816f write_ref_sha1(): move write elision test to callers 10 years ago
Michael Haggerty 8280bbebd1 write_ref_sha1(): remove check for lock == NULL 10 years ago
Michael Haggerty 4b7b520b9f update_ref(): improve documentation 10 years ago
Michael Haggerty 1618033401 ref_transaction_verify(): new function to check a reference's value 10 years ago
Michael Haggerty 60294596ba ref_transaction_delete(): check that old_sha1 is not null_sha1 10 years ago
Michael Haggerty f04c5b5522 ref_transaction_create(): check that new_sha1 is valid 10 years ago
Michael Haggerty fb5a6bb61c ref_transaction_delete(): remove "have_old" parameter 10 years ago
Michael Haggerty 1d147bdff0 ref_transaction_update(): remove "have_old" parameter 10 years ago
Michael Haggerty 8df4e51138 struct ref_update: move "have_old" into "flags" 10 years ago
Michael Haggerty fec14ec38c refs.c: change some "flags" to "unsigned int" 10 years ago
Michael Haggerty 31e79f0a54 refs: remove the gap in the REF_* constant values 10 years ago
Michael Haggerty 581d4e0cdb refs: move REF_DELETING to refs.c 10 years ago
Jeff King 8c53f0719b use xstrdup_or_null to replace ternary conditionals 10 years ago
René Scharfe 33adc83ddb refs: plug strbuf leak in lock_ref_sha1_basic() 10 years ago
Stefan Beller c653e0343d refs.c: let fprintf handle the formatting 10 years ago
Stefan Beller 3581d79335 refs.c: don't expose the internal struct ref_lock in the header file 10 years ago
Michael Haggerty 31e07f76a9 lock_any_ref_for_update(): inline function 10 years ago
Ronnie Sahlberg 0b1e654801 refs.c: remove unlock_ref/close_ref/commit_ref from the refs api 10 years ago
Michael Haggerty fa5b1830b0 reflog_expire(): new function in the reference API 10 years ago
Ronnie Sahlberg 2c6207abbd refs.c: add a function to append a reflog entry to a fd 10 years ago
Jeff King ea417833ea read_packed_refs: use skip_prefix instead of static array 10 years ago
Jeff King 6a49870a72 read_packed_refs: pass strbuf to parse_ref_line 10 years ago
Jeff King 10c497aa0c read_packed_refs: use a strbuf for reading lines 10 years ago
Jeff King 69216bf72b for_each_reflog_ent_reverse: turn leftover check into assertion 10 years ago