Commit Graph

122 Commits (c6da34a610e58f7e58042b5ed24a19bd2c18e928)

Author SHA1 Message Date
Junio C Hamano c6da34a610 Revert "Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'" 8 months ago
Patrick Steinhardt cd475b3b03 refs: add ability for backends to special-case reading of symbolic refs 9 months ago
Patrick Steinhardt fbe73f61cb refs: allow passing flags when beginning transactions 11 months ago
Han-Wen Nienhuys f9f7fd3b23 refs: centralize initialization of the base ref_store. 11 months ago
Han-Wen Nienhuys 7b089120d9 refs: drop force_create argument of create_reflog API 1 year ago
Ævar Arnfjörð Bjarmason c339ff690f refs API: make refs_rename_ref_available() static 1 year ago
Han-Wen Nienhuys df3458e957 refs API: make parse_loose_ref_contents() not set errno 1 year ago
Han-Wen Nienhuys 8b72fea7e9 refs API: make refs_read_raw_ref() not set errno 1 year ago
Jonathan Tan 9bc45a2802 refs: teach arbitrary repo support to iterators 1 year ago
Jonathan Tan 34224e14d6 refs: plumb repo into ref stores 1 year ago
Jeff King 8dccb2244c refs: add DO_FOR_EACH_OMIT_DANGLING_SYMREFS flag 1 year ago
Jeff King 9aab952e85 refs-internal.h: reorganize DO_FOR_EACH_* flag documentation 1 year ago
Jeff King bf708add2e refs-internal.h: move DO_FOR_EACH_* flags next to each other 1 year ago
Han-Wen Nienhuys 5b12e16bb1 refs: make errno output explicit for read_raw_ref_fn 1 year ago
Han-Wen Nienhuys 20d422cfd7 refs: remove EINVAL errno output from specification of read_raw_ref_fn 1 year ago
Ævar Arnfjörð Bjarmason cc40b5ce13 refs API: remove OID argument to reflog_expire() 1 year ago
Han-Wen Nienhuys 617480d75b refs: make explicit that ref_iterator_peel returns boolean 2 years ago
Han-Wen Nienhuys 4441f42707 refs: add GIT_TRACE_REFS debugging mechanism 2 years ago
Han-Wen Nienhuys 63c0567365 refs: move REF_LOG_ONLY to refs-internal.h 2 years ago
Han-Wen Nienhuys 5085aef4c8 refs: move gitdir into base ref_store 2 years ago
Han-Wen Nienhuys 4877c6c738 refs: fix comment about submodule ref_stores 2 years ago
Han-Wen Nienhuys e39620f07e refs: split off reading loose ref data in separate function 2 years ago
Junio C Hamano 523fa69c36 reflog: cleanse messages in the refs.c layer 2 years ago
Han-Wen Nienhuys 84ee4ca10d refs: improve documentation for ref iterator 3 years ago
Elijah Newren 15beaaa3d1 Fix spelling errors in code comments 3 years ago
Ramsay Jones 4eb4416d37 refs/refs-internal.h: add missing declarations (hdr-check) 4 years ago
Tao Qingyun 7b6057c852 refs: docstring typo 4 years ago
Stefan Beller 4a6067cda5 refs.c: migrate internal ref iteration to pass thru repository argument 4 years ago
Ben Peart 80a6c2073b convert log_ref_write_fd() to use strbuf 4 years ago
Junio C Hamano 13f925f3e4 fixup! refs/refs-internal.h: avoid forward declaration of an enum 4 years ago
Beat Bolli 91c2f2040a refs/refs-internal.h: avoid forward declaration of an enum 4 years ago
Michael Haggerty 78fb457968 refs: update some more docs to use "oid" rather than "sha1" 5 years ago
Michael Haggerty 91774afcc3 refs: rename constant `REF_NODEREF` to `REF_NO_DEREF` 5 years ago
Michael Haggerty 5ac95fee3d refs: tidy up and adjust visibility of the `ref_update` flags 5 years ago
brian m. carlson 99afe91a6c refs: convert read_raw_ref backends to struct object_id 5 years ago
brian m. carlson ac2ed0d7d5 refs: convert peel_object to struct object_id 5 years ago
brian m. carlson 0155f710b8 refs: convert reflog_expire parameter to struct object_id 5 years ago
brian m. carlson 89f3bbdd3b refs: update ref transactions to use struct object_id 5 years ago
Michael Haggerty ba1c052fa6 ref_store: implement `refs_peel_ref()` generically 5 years ago
Michael Haggerty 8738a8a4df ref_iterator: keep track of whether the iterator output is ordered 5 years ago
Michael Haggerty 3bf4f56134 struct ref_transaction: add a place for backends to store data 5 years ago
Michael Haggerty 4ff0f01cb7 refs: retry acquiring reference locks for 100ms 5 years ago
Michael Haggerty e0cc8ac820 packed_ref_store: make class into a subclass of `ref_store` 6 years ago
Michael Haggerty 67be7c5a59 packed-backend: new module for handling packed references 6 years ago
Sahil Dua 52d59cc645 branch: add a --copy (-c) option to go with --move (-m) 6 years ago
Michael Haggerty 2ced105cb1 ref_update_reject_duplicates(): expose function to whole refs module 6 years ago
Michael Haggerty 30173b8851 ref_transaction_prepare(): new optional step for reference updates 6 years ago
Michael Haggerty 64da41993a ref_store: take a `msg` parameter when deleting references 6 years ago
Michael Haggerty e186057138 ref_iterator_begin_fn(): fix docstring 6 years ago
brian m. carlson 984912989d refs: convert struct ref_update to use struct object_id 6 years ago