91 Commits (763b47bafab6f781dc52461985b3300d447d1332)

Author SHA1 Message Date
Ramsay Jones 4eb4416d37 refs/refs-internal.h: add missing declarations (hdr-check) 6 years ago
Tao Qingyun 7b6057c852 refs: docstring typo 6 years ago
Stefan Beller 4a6067cda5 refs.c: migrate internal ref iteration to pass thru repository argument 6 years ago
Ben Peart 80a6c2073b convert log_ref_write_fd() to use strbuf 7 years ago
Junio C Hamano 13f925f3e4 fixup! refs/refs-internal.h: avoid forward declaration of an enum 7 years ago
Beat Bolli 91c2f2040a refs/refs-internal.h: avoid forward declaration of an enum 7 years ago
Michael Haggerty 78fb457968 refs: update some more docs to use "oid" rather than "sha1" 7 years ago
Michael Haggerty 91774afcc3 refs: rename constant `REF_NODEREF` to `REF_NO_DEREF` 7 years ago
Michael Haggerty 5ac95fee3d refs: tidy up and adjust visibility of the `ref_update` flags 7 years ago
brian m. carlson 99afe91a6c refs: convert read_raw_ref backends to struct object_id 7 years ago
brian m. carlson ac2ed0d7d5 refs: convert peel_object to struct object_id 7 years ago
brian m. carlson 0155f710b8 refs: convert reflog_expire parameter to struct object_id 7 years ago
brian m. carlson 89f3bbdd3b refs: update ref transactions to use struct object_id 7 years ago
Michael Haggerty ba1c052fa6 ref_store: implement `refs_peel_ref()` generically 7 years ago
Michael Haggerty 8738a8a4df ref_iterator: keep track of whether the iterator output is ordered 7 years ago
Michael Haggerty 3bf4f56134 struct ref_transaction: add a place for backends to store data 7 years ago
Michael Haggerty 4ff0f01cb7 refs: retry acquiring reference locks for 100ms 8 years ago
Michael Haggerty e0cc8ac820 packed_ref_store: make class into a subclass of `ref_store` 8 years ago
Michael Haggerty 67be7c5a59 packed-backend: new module for handling packed references 8 years ago
Sahil Dua 52d59cc645 branch: add a --copy (-c) option to go with --move (-m) 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 64da41993a ref_store: take a `msg` parameter when deleting references 8 years ago
Michael Haggerty e186057138 ref_iterator_begin_fn(): fix docstring 8 years ago
brian m. carlson 984912989d refs: convert struct ref_update to use struct object_id 8 years ago
Nguyễn Thái Ngọc Duy 0d8a814d8a refs: add REFS_STORE_ALL_CAPS 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
Michael Haggerty 470be51862 refs_read_raw_ref(): new function 8 years ago
Nguyễn Thái Ngọc Duy c0fe4e8ba3 refs: new transaction related ref-store api 8 years ago
Nguyễn Thái Ngọc Duy 7d2df051d0 refs: add new ref-store api 8 years ago
Nguyễn Thái Ngọc Duy 18d0002d6d refs: rename get_ref_store() to get_submodule_ref_store() and make it public 8 years ago
Nguyễn Thái Ngọc Duy 9e7ec634a1 files-backend: replace submodule_allowed check in files_downcast() 8 years ago
Nguyễn Thái Ngọc Duy 5d0bc90e5d refs: move submodule code out of files-backend.c 8 years ago
Nguyễn Thái Ngọc Duy 11f8457fb9 files-backend: make files_log_ref_write() static 8 years ago
Michael Haggerty 3c0cb0cbae read_loose_refs(): read refs using resolve_ref_recursively() 8 years ago
Michael Haggerty fbfd0a2915 base_ref_store_init(): remove submodule argument 8 years ago
Michael Haggerty 32c597e7b2 refs: push the submodule attribute down 8 years ago
Michael Haggerty 7d4558c462 refs: store submodule ref stores in a hashmap 8 years ago
Michael Haggerty c468da4e27 refs: make some ref_store lookup functions private 8 years ago
Cornelius Weig 341fb28621 refs: add option core.logAllRefUpdates = always 8 years ago
Michael Haggerty 446397774a files_transaction_commit(): clean up empty directories 8 years ago
Michael Haggerty 15ee2c72e7 refname_is_safe(): correct docstring 8 years ago
David Turner 0c09ec07d1 refs: implement iteration over only per-worktree refs 8 years ago
David Turner 7d61826439 refs: make lock generic 8 years ago
David Turner 9b6b40d93a refs: add method to rename refs 8 years ago
David Turner 6fb5acfd8f refs: add methods to init refs db 8 years ago
David Turner a27dcf89b6 refs: make delete_refs() virtual 8 years ago
David Turner fc6814637d refs: add method for initial ref transaction commit 8 years ago
David Turner e3688bd6cf refs: add methods for reflog 8 years ago