610 Commits (ccad261f07900b55029f3fd42a9ec8f17229808f)

Author SHA1 Message Date
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
Jeff King e5e73ff20b for_each_reflog_ent_reverse: fix newlines on block boundaries 10 years ago
Ronnie Sahlberg a785d3f77c refs.c: make ref_transaction_delete a wrapper for ref_transaction_update 10 years ago
Ronnie Sahlberg bc9f2925fb refs.c: make ref_transaction_create a wrapper for ref_transaction_update 10 years ago
Michael Haggerty 4a45b2f347 repack_without_refs(): make the refnames argument a string_list 10 years ago
Ronnie Sahlberg 068395150b lock_ref_sha1_basic: do not die on locking errors 10 years ago
Jeff King 9233887cce ignore stale directories when checking reflog existence 10 years ago
Jonathan Nieder 65732845e8 ref_transaction_commit: bail out on failure to remove a ref 11 years ago
Jonathan Nieder 5a603b0463 refs.c: do not permit err == NULL 11 years ago
Ronnie Sahlberg d0f810f0bc refs.c: allow listing and deleting badly named refs 11 years ago
Jonathan Nieder f3cc52d840 packed-ref cache: forbid dot-components in refnames 11 years ago
Jonathan Nieder 62a2d52514 branch -d: avoid repeated symref resolution 11 years ago
Ronnie Sahlberg 7695d118e5 refs.c: change resolve_ref_unsafe reading argument to be a flags field 11 years ago
Ronnie Sahlberg aae383db8c refs.c: make write_ref_sha1 static 11 years ago
Ronnie Sahlberg 28e6a97e39 refs.c: ref_transaction_commit: distinguish name conflicts from other errors 11 years ago
Ronnie Sahlberg 5fe7d825da refs.c: pass a list of names to skip to is_refname_available 11 years ago
Ronnie Sahlberg 5d94a1b033 refs.c: call lock_ref_sha1_basic directly from commit 11 years ago
Ronnie Sahlberg 8a9df90d9a refs.c: refuse to lock badly named refs in lock_ref_sha1_basic 11 years ago
Ronnie Sahlberg 7522e3dbcc rename_ref: don't ask read_ref_full where the ref came from 11 years ago
Ronnie Sahlberg db7516ab9f refs.c: pass the ref log message to _create/delete/update instead of _commit 11 years ago
Ronnie Sahlberg dbdcac7d5c refs.c: add an err argument to delete_ref_loose 11 years ago
Ronnie Sahlberg 3c93c847ca refs.c: lock_ref_sha1_basic is used for all refs 11 years ago
Ronnie Sahlberg 1054af7d04 wrapper.c: remove/unlink_or_warn: simplify, treat ENOENT as success 11 years ago