404 Commits (a30f93b14378c285d936255b9749a1491765b9f6)

Author SHA1 Message Date
René Scharfe e0ae2447d6 refs: pass NULL to refs_read_ref_full() because object ID is not needed 5 years ago
Elijah Newren 15beaaa3d1 Fix spelling errors in code comments 5 years ago
René Scharfe 9b7b0295f9 dir-iterator: release strbuf after use 6 years ago
Sun Chao a613d4f817 pack-refs: always refresh after taking the lock file 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 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()" 7 years ago
Jeff King 4a7e27e957 convert "oidcmp() == 0" to oideq() 7 years ago
Stefan Beller 4a6067cda5 refs.c: migrate internal ref iteration to pass thru repository argument 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
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