227 Commits (33028713206c3f59709617d8af5ba4212920a5f0)

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason 88ce3ef636 *.[ch] refactoring: make use of the FREE_AND_NULL() macro 8 years ago
Ævar Arnfjörð Bjarmason 6a83d90207 coccinelle: make use of the "type" FREE_AND_NULL() rule 8 years ago
Brandon Williams b2141fc1d2 config: don't include config.h by default 8 years ago
Michael Haggerty fed6ebebf1 lock_packed_refs(): fix cache validity check 8 years ago
Michael Haggerty f23092f19e cache_ref_iterator_begin(): avoid priming unneeded directories 8 years ago
Michael Haggerty c1da06c6f1 create_ref_entry(): remove `check_name` option 8 years ago
Michael Haggerty 0a0865b8f1 refs_ref_iterator_begin(): handle `GIT_REF_PARANOIA` 8 years ago
Michael Haggerty 89c571da56 read_packed_refs(): report unexpected fopen() failures 8 years ago
Michael Haggerty 099a912a27 read_packed_refs(): do more of the work of reading packed refs 8 years ago
Michael Haggerty 28ed9830b1 get_packed_ref_cache(): assume "packed-refs" won't change while locked 8 years ago
Michael Haggerty 531cc4a56d should_pack_ref(): new function, extracted from `files_pack_refs()` 8 years ago
Michael Haggerty 2ced105cb1 ref_update_reject_duplicates(): expose function to whole refs module 8 years ago
Michael Haggerty 30173b8851 ref_transaction_prepare(): new optional step for reference updates 8 years ago
Michael Haggerty 8d4240d3c8 ref_transaction_commit(): check for valid `transaction->state` 8 years ago
Michael Haggerty c0ca935764 files_transaction_cleanup(): new helper function 8 years ago
Michael Haggerty 00d174489e files_ref_store: put the packed files lock directly in this struct 8 years ago
Michael Haggerty 55c6bc37c9 files-backend: move `lock` member to `files_ref_store` 8 years ago
Michael Haggerty 64da41993a ref_store: take a `msg` parameter when deleting references 8 years ago
Michael Haggerty 43a2dfde76 refs: use `size_t` indexes when iterating over ref transaction updates 8 years ago
Michael Haggerty b9c8e7f2fb prefix_ref_iterator: don't trim too much 8 years ago
Michael Haggerty 04aea8d4df files-backend: use `die("BUG: ...")`, not `die("internal error: ...")` 8 years ago
Michael Haggerty e186057138 ref_iterator_begin_fn(): fix docstring 8 years ago
brian m. carlson c251c83df2 object: convert parse_object* to take struct object_id 8 years ago
brian m. carlson 4417df8c49 refs/files-backend: convert many internals to struct object_id 8 years ago
brian m. carlson 984912989d refs: convert struct ref_update to use struct object_id 8 years ago
brian m. carlson 4322478a49 reflog_expire: convert to struct object_id 8 years ago
Johannes Schindelin dddbad728c timestamp_t: a new data type for timestamps 8 years ago
Nguyễn Thái Ngọc Duy d026a25657 refs: kill set_worktree_head_symref() 8 years ago
Nguyễn Thái Ngọc Duy 0d8a814d8a refs: add REFS_STORE_ALL_CAPS 8 years ago
Johannes Schindelin cb71f8bdb5 PRItime: introduce a new "printf format" for timestamps 8 years ago
Johannes Schindelin 1aeb7e756c parse_timestamp(): specify explicitly where we parse timestamps 8 years ago
René Scharfe be686f03e0 files_for_each_reflog_ent_reverse(): close stream and free strbuf on error 8 years ago
Michael Haggerty f890db83ee do_for_each_entry_in_dir(): delete function 8 years ago
Michael Haggerty 50c2d8555b files_pack_refs(): use reference iteration 8 years ago
Michael Haggerty 1710fbafb6 commit_packed_refs(): use reference iteration 8 years ago
Michael Haggerty 059ae35a48 cache_ref_iterator_begin(): make function smarter 8 years ago
Michael Haggerty a714b19ca8 get_loose_ref_cache(): new function 8 years ago
Michael Haggerty 86f423584b get_loose_ref_dir(): function renamed from get_loose_refs() 8 years ago
Michael Haggerty 5c7bba77b2 do_for_each_entry_in_dir(): eliminate `offset` argument 8 years ago
Michael Haggerty e3bf2989ca refs: handle "refs/bisect/" in `loose_fill_ref_dir()` 8 years ago
Michael Haggerty df30875987 ref-cache: use a callback function to fill the cache 8 years ago
Michael Haggerty e00d1a4ff7 refs: record the ref_store in ref_cache, not ref_dir 8 years ago
Michael Haggerty 7c22bc8a18 ref-cache: introduce a new type, ref_cache 8 years ago
Michael Haggerty 958f964691 refs: split `ref_cache` code into separate files 8 years ago
Michael Haggerty 9fc3b06311 ref-cache: rename `remove_entry()` to `remove_entry_from_dir()` 8 years ago
Michael Haggerty bc1c696e89 ref-cache: rename `find_ref()` to `find_ref_entry()` 8 years ago
Michael Haggerty a3ade2baba ref-cache: rename `add_ref()` to `add_ref_entry()` 8 years ago
Michael Haggerty 524a9fdb51 refs_verify_refname_available(): use function in more places 8 years ago
Michael Haggerty b05855b5bc refs_verify_refname_available(): implement once for all backends 8 years ago
Michael Haggerty e121b9cb5f refs_ref_iterator_begin(): new function 8 years ago