390 Commits (39f43177442d44d8a945c3ff6a8c08f481539763)

Author SHA1 Message Date
Jeff King 10dee40ed3 files-backend: drop refs parameter from split_symref_update() 6 years ago
Nguyễn Thái Ngọc Duy 46c0eb5843 files-backend.c: fix build error on Solaris 6 years ago
Nguyễn Thái Ngọc Duy 3a3b9d8cde refs: new ref types to make per-worktree refs visible to all worktrees 6 years ago
brian m. carlson 49d166081b refs/packed-backend: express constants using the_hash_algo 6 years ago
Nguyễn Thái Ngọc Duy 8aff1a9ca5 Add a place for (not) sharing stuff between worktrees 6 years ago
Ramsay Jones 4eb4416d37 refs/refs-internal.h: add missing declarations (hdr-check) 6 years ago
Ramsay Jones 611023f88f refs/packed-backend.h: add missing declaration (hdr-check) 6 years ago
Ramsay Jones 440984b2d6 refs/ref-cache.h: add missing declarations (hdr-check) 6 years ago
Tao Qingyun 7b6057c852 refs: docstring typo 6 years ago
Jeff King 9001dc2a74 convert "oidcmp() != 0" to "!oideq()" 6 years ago
Jeff King 4a7e27e957 convert "oidcmp() == 0" to oideq() 6 years ago
Stefan Beller 4a6067cda5 refs.c: migrate internal ref iteration to pass thru repository argument 6 years ago
Jeff King 765b496dc6 pass st.st_size as hint for strbuf_readlink() 7 years ago
brian m. carlson 2ae2e2a1ca refs/files-backend: use the_hash_algo for writing refs 7 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
Stefan Beller 109cd76dd3 object: add repository argument to parse_object 7 years ago
Stefan Beller 09427e8366 refs/packed-backend.c: close fd of empty file 7 years ago
Martin Ågren b227586831 lock_file: make function-local locks non-static 7 years ago
Johannes Schindelin 033abf97fc Replace all die("BUG: ...") calls by BUG() ones 7 years ago
Stefan Beller 64a741619d refs: store the main ref store inside the repository struct 7 years ago
Jeff King fb9c2d2703 refs: use chdir_notify to update cached relative paths 7 years ago
Kim Gybels ba41a8b600 packed_ref_cache: don't use mmap() for small files 7 years ago
Michael Haggerty 01caf20d57 load_contents(): don't try to mmap an empty file 7 years ago
Michael Haggerty f34242975f packed_ref_iterator_begin(): make optimization more general 7 years ago
Michael Haggerty 4a14f8d093 find_reference_location(): make function safe for empty snapshots 7 years ago
Michael Haggerty 27a41841ec create_snapshot(): use `xmemdupz()` rather than a strbuf 7 years ago
Michael Haggerty 4a2854f77c struct snapshot: store `start` rather than `header_len` 7 years ago
SZEDER Gábor f919ffebed Use MOVE_ARRAY 7 years ago
Mathias Rav 81fcb698e0 files_initial_transaction_commit(): only unlock if locked 7 years ago
Michael Haggerty 78fb457968 refs: update some more docs to use "oid" rather than "sha1" 7 years ago
Michael Haggerty 4170188262 write_packed_entry(): take `object_id` arguments 7 years ago
Michael Haggerty acedcde76d refs: rename constant `REF_ISPRUNING` to `REF_IS_PRUNING` 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
Michael Haggerty 62c72d1fd0 ref_transaction_add_update(): remove a check 7 years ago
Michael Haggerty b00f3cfa92 prune_ref(): call `ref_transaction_add_update()` directly 7 years ago
Michael Haggerty b0ca411051 files_transaction_prepare(): don't leak flags to packed transaction 7 years ago
Michael Haggerty 7c6bd25c7d files-backend: don't rewrite the `packed-refs` file unnecessarily 7 years ago
Michael Haggerty da5267f1b6 files_transaction_prepare(): fix handling of ref lock failure 7 years ago
brian m. carlson 4f01e5080c refs/files-backend: convert static functions to object_id 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 49e61479be refs: convert resolve_ref_unsafe 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 34c290a6fc refs: convert read_ref and read_ref_full to object_id 7 years ago
brian m. carlson 89f3bbdd3b refs: update ref transactions to use struct object_id 7 years ago
brian m. carlson 2616a5e508 refs: convert delete_ref and refs_delete_ref to struct object_id 7 years ago
brian m. carlson 49e9958869 refs/files-backend: convert struct ref_to_prune to object_id 7 years ago