333 Commits (7744a5d6921c457a05224cd7f5554e972df634b0)

Author SHA1 Message Date
Han-Wen Nienhuys 5085aef4c8 refs: move gitdir into base ref_store 5 years ago
Han-Wen Nienhuys e39620f07e refs: split off reading loose ref data in separate function 5 years ago
Han-Wen Nienhuys 25429fed5c refs: move the logic to add \t to reflog to the files backend 5 years ago
Junio C Hamano 523fa69c36 reflog: cleanse messages in the refs.c layer 5 years ago
Patrick Steinhardt edc30691e5 refs: fix segfault when aborting empty transaction 5 years ago
Junio C Hamano 145136a95a C: use skip_prefix() to avoid hardcoded string length 5 years ago
René Scharfe e0ae2447d6 refs: pass NULL to refs_read_ref_full() because object ID is not needed 5 years ago
René Scharfe 9b7b0295f9 dir-iterator: release strbuf after use 6 years ago
Matheus Tavares fa1da7d2ee dir-iterator: add flags parameter to dir_iterator_begin 6 years ago
Matheus Tavares 3012397e03 dir-iterator: refactor state machine model 6 years ago
Jeff King d3322eb28b refs/files-backend: don't look at an aborted transaction 6 years ago
Jeff King 249e8dc73e refs/files-backend: handle packed transaction prepare failure 6 years ago
Nguyễn Thái Ngọc Duy b9317d55a3 Make sure refs/rewritten/ is per-worktree 6 years ago
Nguyễn Thái Ngọc Duy 90d31ff5d4 files-backend.c: reduce duplication in add_per_worktree_entries_to_dir() 6 years ago
Nguyễn Thái Ngọc Duy 09e65645e3 files-backend.c: factor out per-worktree code in loose_fill_ref_dir() 6 years ago
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 7 years ago
Nguyễn Thái Ngọc Duy 8aff1a9ca5 Add a place for (not) sharing stuff between worktrees 7 years ago
Jeff King 9001dc2a74 convert "oidcmp() != 0" to "!oideq()" 7 years ago
Jeff King 4a7e27e957 convert "oidcmp() == 0" to oideq() 7 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
Stefan Beller 109cd76dd3 object: add repository argument to parse_object 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
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 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 8 years ago
brian m. carlson 4f01e5080c refs/files-backend: convert static functions to object_id 8 years ago
brian m. carlson 99afe91a6c refs: convert read_raw_ref backends to struct object_id 8 years ago
brian m. carlson 49e61479be refs: convert resolve_ref_unsafe to struct object_id 8 years ago
brian m. carlson 0155f710b8 refs: convert reflog_expire parameter to struct object_id 8 years ago
brian m. carlson 34c290a6fc refs: convert read_ref and read_ref_full to object_id 8 years ago
brian m. carlson 89f3bbdd3b refs: update ref transactions to use struct object_id 8 years ago
brian m. carlson 2616a5e508 refs: convert delete_ref and refs_delete_ref to struct object_id 8 years ago
brian m. carlson 49e9958869 refs/files-backend: convert struct ref_to_prune to object_id 8 years ago
René Scharfe 872ccb2c69 refs: pass NULL to refs_resolve_refdup() if hash is not needed 8 years ago
Jeff King 88780c37b3 files-backend: prefer "0" for write_in_full() error check 8 years ago
Michael Haggerty ba1c052fa6 ref_store: implement `refs_peel_ref()` generically 8 years ago