315 Commits (74ae0652c4736629db9c97f7a3ac7cebedaeae10)

Author SHA1 Message Date
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
Nguyễn Thái Ngọc Duy 8aff1a9ca5 Add a place for (not) sharing stuff between worktrees 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
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 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 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
René Scharfe 872ccb2c69 refs: pass NULL to refs_resolve_refdup() if hash is not needed 7 years ago
Jeff King 88780c37b3 files-backend: prefer "0" for write_in_full() error check 7 years ago
Michael Haggerty ba1c052fa6 ref_store: implement `refs_peel_ref()` generically 7 years ago
René Scharfe e691b027b6 refs: pass NULL to refs_resolve_ref_unsafe() if hash is not needed 7 years ago
Michael Haggerty 8738a8a4df ref_iterator: keep track of whether the iterator output is ordered 7 years ago
Jeff King 564bde9ae6 convert less-trivial versions of "write_in_full() != len" 7 years ago
Jeff King 06f46f237a avoid "write_in_full(fd, buf, len) != len" pattern 7 years ago
Martin Ågren 276d0e35c0 refs/files-backend: add `refname`, not "HEAD", to list 7 years ago
Martin Ågren 3f5ef95b5e refs/files-backend: correct return value in lock_ref_for_update 7 years ago
Martin Ågren 851e1fbd01 refs/files-backend: fix memory leak in lock_ref_for_update 7 years ago
Martin Ågren c299468bd7 refs/files-backend: add longer-scoped copy of string to list 7 years ago
Michael Haggerty 5e00a6c873 files_transaction_finish(): delete reflogs before references 7 years ago
Michael Haggerty dc39e09942 files_ref_store: use a transaction to update packed refs 7 years ago
Michael Haggerty 1444bfe027 files_initial_transaction_commit(): use a transaction for packed refs 7 years ago
Michael Haggerty 22b09cdfad prune_refs(): also free the linked list 7 years ago
Michael Haggerty 27d03d04d5 files_pack_refs(): use a reference transaction to write packed refs 7 years ago
Michael Haggerty 2fb330ca72 packed_delete_refs(): implement method 7 years ago
Jeff King ee4d8e455c ref_lock: stop leaking lock_files 7 years ago
Jeff King 076aa2cbda tempfile: auto-allocate tempfiles on heap 7 years ago