729 Commits (ded2c097bae67e00f8b4f3f777a516254207ca15)

Author SHA1 Message Date
Jeff King 50a6c8efa2 use st_add and st_mult for allocation size computation 9 years ago
Jeff King 96ffc06f72 convert trivial cases to FLEX_ARRAY macros 9 years ago
Jeff King 3733e69464 use xmallocz to avoid size arithmetic 9 years ago
SZEDER Gábor 08a3651fe7 Make error message after failing commit_lock_file() less confusing 9 years ago
brian m. carlson ed1c9977cb Remove get_object_hash. 9 years ago
brian m. carlson 7999b2cf77 Add several uses of get_object_hash. 9 years ago
David Turner 0845122c39 refs: break out ref conflict checks 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
Michael Haggerty 03b32623d8 refname_is_safe(): improve docstring 9 years ago
Michael Haggerty a935ebd4a7 pack_if_possible_fn(): use ref_type() instead of is_per_worktree_ref() 9 years ago
David Turner f4a5721ccb copy_msg(): rename to copy_reflog_msg() 9 years ago
Ronnie Sahlberg d336123160 verify_refname_available(): new function 9 years ago
Ronnie Sahlberg 7003b3ce21 verify_refname_available(): rename function 9 years ago
Lukas Fleischer 78a766ab6e hideRefs: add support for matching full refs 9 years ago
Jeff King 00b6c178c3 use strbuf_complete to conditionally append slash 9 years ago
Jeff King c7ab0ba340 avoid sprintf and strcpy with flex arrays 9 years ago
Jeff King 495127dbcb resolve_ref: use strbufs for internal buffers 9 years ago
Jeff King 5096d4909f convert trivial sprintf / strcpy calls to xsnprintf 9 years ago
Karthik Nayak 5b4f28510f ref-filter: add option to filter out tags, branches and remotes 9 years ago
David Turner ce414b33ec refs: make refs/bisect/* per-worktree 10 years ago
David Turner 2c3aed1381 pseudoref: check return values from read_ref() 10 years ago
Jeff King 470e28d4e1 refs.c: remove_empty_directories can take a strbuf 10 years ago
Jeff King 5f8ef5b848 refs.c: avoid git_path assignment in lock_ref_sha1_basic 10 years ago
Jeff King d6549f3655 refs.c: avoid repeated git_path calls in rename_tmp_log 10 years ago
Jeff King 54b418f698 refs.c: simplify strbufs in reflog setup and writing 10 years ago
Jeff King f5b2dec165 refs.c: remove extra git_path calls from read_loose_refs 10 years ago
Jeff King e3cf230324 prefer mkpathdup to mkpath in assignments 10 years ago
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