Age | Commit message (Expand) | Author | Files | Lines |
2018-10-30 | Merge branch 'bc/hash-transition-part-15' | Junio C Hamano | 1 | -7/+7 |
2018-10-22 | refs: new ref types to make per-worktree refs visible to all worktrees | Nguyễn Thái Ngọc Duy | 1 | -0/+28 |
2018-10-16 | Merge branch 'rj/header-check' | Junio C Hamano | 3 | -0/+9 |
2018-10-16 | Merge branch 'tq/refs-internal-comment-fix' | Junio C Hamano | 1 | -1/+1 |
2018-10-16 | Merge branch 'ds/commit-graph-with-grafts' | Junio C Hamano | 2 | -5/+6 |
2018-10-15 | refs/packed-backend: express constants using the_hash_algo | brian m. carlson | 1 | -7/+7 |
2018-10-07 | Add a place for (not) sharing stuff between worktrees | Nguyễn Thái Ngọc Duy | 1 | -3/+11 |
2018-09-20 | refs/refs-internal.h: add missing declarations (hdr-check) | Ramsay Jones | 1 | -0/+4 |
2018-09-20 | refs/packed-backend.h: add missing declaration (hdr-check) | Ramsay Jones | 1 | -0/+2 |
2018-09-20 | refs/ref-cache.h: add missing declarations (hdr-check) | Ramsay Jones | 1 | -0/+3 |
2018-09-17 | refs: docstring typo | Tao Qingyun | 1 | -1/+1 |
2018-08-29 | convert "oidcmp() != 0" to "!oideq()" | Jeff King | 3 | -3/+3 |
2018-08-29 | convert "oidcmp() == 0" to oideq() | Jeff King | 1 | -2/+2 |
2018-08-21 | refs.c: migrate internal ref iteration to pass thru repository argument | Stefan Beller | 2 | -5/+6 |
2018-08-15 | Merge branch 'jk/size-t' | Junio C Hamano | 1 | -1/+1 |
2018-08-02 | Merge branch 'sb/object-store-lookup' | Junio C Hamano | 1 | -1/+1 |
2018-08-02 | Merge branch 'bc/object-id' | Junio C Hamano | 1 | -2/+2 |
2018-07-24 | Merge branch 'bp/log-ref-write-fd-with-strbuf' | Junio C Hamano | 2 | -23/+13 |
2018-07-24 | Merge branch 'bb/pedantic' | Junio C Hamano | 1 | -0/+2 |
2018-07-24 | pass st.st_size as hint for strbuf_readlink() | Jeff King | 1 | -1/+1 |
2018-07-16 | refs/files-backend: use the_hash_algo for writing refs | brian m. carlson | 1 | -2/+2 |
2018-07-10 | convert log_ref_write_fd() to use strbuf | Ben Peart | 2 | -23/+13 |
2018-07-09 | fixup! refs/refs-internal.h: avoid forward declaration of an enum | Junio C Hamano | 1 | -1/+1 |
2018-07-09 | refs/refs-internal.h: avoid forward declaration of an enum | Beat Bolli | 1 | -0/+2 |
2018-06-29 | object: add repository argument to parse_object | Stefan Beller | 1 | -1/+1 |
2018-06-01 | refs/packed-backend.c: close fd of empty file | Stefan Beller | 1 | -0/+1 |
2018-05-30 | Merge branch 'js/use-bug-macro' | Junio C Hamano | 4 | -22/+22 |
2018-05-30 | Merge branch 'ma/lockfile-cleanup' | Junio C Hamano | 1 | -1/+1 |
2018-05-10 | lock_file: make function-local locks non-static | Martin Ågren | 1 | -1/+1 |
2018-05-08 | Merge branch 'sb/object-store-replace' | Junio C Hamano | 1 | -4/+0 |
2018-05-06 | Replace all die("BUG: ...") calls by BUG() ones | Johannes Schindelin | 4 | -22/+22 |
2018-04-12 | refs: store the main ref store inside the repository struct | Stefan Beller | 1 | -4/+0 |
2018-03-30 | refs: use chdir_notify to update cached relative paths | Jeff King | 2 | -0/+9 |
2018-02-15 | Merge branch 'kg/packed-ref-cache-fix' | Junio C Hamano | 1 | -51/+55 |
2018-02-13 | Merge branch 'sg/cocci-move-array' | Junio C Hamano | 1 | -4/+2 |
2018-02-13 | Merge branch 'mr/packed-ref-store-fix' | Junio C Hamano | 1 | -2/+1 |
2018-01-24 | packed_ref_cache: don't use mmap() for small files | Kim Gybels | 1 | -1/+3 |
2018-01-24 | load_contents(): don't try to mmap an empty file | Michael Haggerty | 1 | -7/+6 |
2018-01-24 | packed_ref_iterator_begin(): make optimization more general | Michael Haggerty | 1 | -6/+6 |
2018-01-24 | find_reference_location(): make function safe for empty snapshots | Michael Haggerty | 1 | -4/+6 |
2018-01-24 | create_snapshot(): use `xmemdupz()` rather than a strbuf | Michael Haggerty | 1 | -5/+4 |
2018-01-24 | struct snapshot: store `start` rather than `header_len` | Michael Haggerty | 1 | -31/+33 |
2018-01-22 | Use MOVE_ARRAY | SZEDER Gábor | 1 | -4/+2 |
2018-01-19 | files_initial_transaction_commit(): only unlock if locked | Mathias Rav | 1 | -2/+1 |
2017-12-06 | Merge branch 'mh/avoid-rewriting-packed-refs' into maint | Junio C Hamano | 3 | -1/+120 |
2017-11-15 | Merge branch 'mh/tidy-ref-update-flags' | Junio C Hamano | 4 | -108/+127 |
2017-11-15 | Merge branch 'mh/avoid-rewriting-packed-refs' | Junio C Hamano | 3 | -1/+120 |
2017-11-06 | Merge branch 'bc/object-id' | Junio C Hamano | 4 | -74/+72 |
2017-11-06 | refs: update some more docs to use "oid" rather than "sha1" | Michael Haggerty | 4 | -22/+21 |
2017-11-06 | write_packed_entry(): take `object_id` arguments | Michael Haggerty | 1 | -8/+8 |
2017-11-06 | refs: rename constant `REF_ISPRUNING` to `REF_IS_PRUNING` | Michael Haggerty | 1 | -9/+9 |
2017-11-06 | refs: rename constant `REF_NODEREF` to `REF_NO_DEREF` | Michael Haggerty | 2 | -22/+22 |
2017-11-06 | refs: tidy up and adjust visibility of the `ref_update` flags | Michael Haggerty | 2 | -52/+60 |
2017-11-06 | ref_transaction_add_update(): remove a check | Michael Haggerty | 1 | -1/+6 |
2017-11-06 | prune_ref(): call `ref_transaction_add_update()` directly | Michael Haggerty | 1 | -9/+16 |
2017-11-06 | files_transaction_prepare(): don't leak flags to packed transaction | Michael Haggerty | 1 | -2/+2 |
2017-10-30 | files-backend: don't rewrite the `packed-refs` file unnecessarily | Michael Haggerty | 3 | -1/+120 |
2017-10-28 | Merge branch 'bc/object-id' into base | Michael Haggerty | 4 | -74/+72 |
2017-10-26 | Merge branch 'mh/ref-locking-fix' | Junio C Hamano | 1 | -1/+1 |
2017-10-25 | files_transaction_prepare(): fix handling of ref lock failure | Michael Haggerty | 1 | -1/+1 |
2017-10-16 | refs/files-backend: convert static functions to object_id | brian m. carlson | 1 | -28/+28 |
2017-10-16 | refs: convert read_raw_ref backends to struct object_id | brian m. carlson | 3 | -13/+14 |
2017-10-16 | refs: convert peel_object to struct object_id | brian m. carlson | 3 | -6/+6 |
2017-10-16 | refs: convert resolve_ref_unsafe to struct object_id | brian m. carlson | 1 | -4/+4 |
2017-10-16 | refs: convert reflog_expire parameter to struct object_id | brian m. carlson | 3 | -8/+5 |
2017-10-16 | refs: convert read_ref and read_ref_full to object_id | brian m. carlson | 1 | -5/+5 |
2017-10-16 | refs: update ref transactions to use struct object_id | brian m. carlson | 2 | -8/+8 |
2017-10-16 | refs: convert delete_ref and refs_delete_ref to struct object_id | brian m. carlson | 1 | -1/+1 |
2017-10-16 | refs/files-backend: convert struct ref_to_prune to object_id | brian m. carlson | 1 | -3/+3 |
2017-10-05 | Merge branch 'rs/cleanup-strbuf-users' | Junio C Hamano | 1 | -2/+2 |
2017-10-05 | Merge branch 'rs/resolve-ref-optional-result' | Junio C Hamano | 1 | -2/+1 |
2017-10-03 | Merge branch 'mh/mmap-packed-refs' | Junio C Hamano | 6 | -368/+818 |
2017-10-03 | Merge branch 'jk/read-in-full' | Junio C Hamano | 1 | -1/+1 |
2017-10-03 | Merge branch 'sd/branch-copy' | Junio C Hamano | 3 | -8/+50 |
2017-10-02 | use strbuf_addstr() for adding strings to strbufs | René Scharfe | 1 | -2/+2 |
2017-10-01 | refs: pass NULL to refs_resolve_refdup() if hash is not needed | René Scharfe | 1 | -2/+1 |
2017-09-28 | Merge branch 'rs/resolve-ref-optional-result' | Junio C Hamano | 1 | -2/+1 |
2017-09-26 | files-backend: prefer "0" for write_in_full() error check | Jeff King | 1 | -1/+1 |
2017-09-25 | packed-backend.c: rename a bunch of things and update comments | Michael Haggerty | 1 | -190/+232 |
2017-09-25 | mmapped_ref_iterator: inline into `packed_ref_iterator` | Michael Haggerty | 1 | -170/+114 |
2017-09-25 | ref_cache: remove support for storing peeled values | Michael Haggerty | 3 | -72/+11 |
2017-09-25 | packed_ref_store: get rid of the `ref_cache` entirely | Michael Haggerty | 1 | -27/+2 |
2017-09-25 | ref_store: implement `refs_peel_ref()` generically | Michael Haggerty | 3 | -77/+0 |
2017-09-25 | packed_read_raw_ref(): read the reference from the mmapped buffer | Michael Haggerty | 1 | -5/+9 |
2017-09-25 | packed_ref_iterator_begin(): iterate using `mmapped_ref_iterator` | Michael Haggerty | 1 | -3/+106 |
2017-09-25 | read_packed_refs(): ensure that references are ordered when read | Michael Haggerty | 1 | -11/+212 |
2017-09-25 | packed_ref_cache: keep the `packed-refs` file mmapped if possible | Michael Haggerty | 1 | -42/+143 |
2017-09-25 | packed-backend.c: reorder some definitions | Michael Haggerty | 1 | -24/+24 |
2017-09-25 | mmapped_ref_iterator_advance(): no peeled value for broken refs | Michael Haggerty | 1 | -2/+8 |
2017-09-25 | mmapped_ref_iterator: add iterator over a packed-refs file | Michael Haggerty | 1 | -55/+152 |
2017-09-25 | packed_ref_cache: remember the file-wide peeling state | Michael Haggerty | 1 | -5/+12 |
2017-09-25 | read_packed_refs(): read references with minimal copying | Michael Haggerty | 1 | -61/+40 |
2017-09-25 | Merge branch 'jk/write-in-full-fix' | Junio C Hamano | 1 | -5/+5 |
2017-09-24 | refs: pass NULL to refs_resolve_ref_unsafe() if hash is not needed | René Scharfe | 1 | -2/+1 |
2017-09-19 | Merge branch 'mh/packed-ref-transactions' | Junio C Hamano | 4 | -216/+478 |
2017-09-19 | Merge branch 'jk/incore-lockfile-removal' | Junio C Hamano | 2 | -34/+30 |
2017-09-19 | Merge branch 'nd/prune-in-worktree' | Junio C Hamano | 1 | -14/+45 |
2017-09-19 | Merge branch 'ma/split-symref-update-fix' | Junio C Hamano | 1 | -18/+44 |
2017-09-14 | read_packed_refs(): make parsing of the header line more robust | Michael Haggerty | 1 | -6/+15 |
2017-09-14 | read_packed_refs(): only check for a header at the top of the file | Michael Haggerty | 1 | -11/+24 |
2017-09-14 | read_packed_refs(): use mmap to read the `packed-refs` file | Michael Haggerty | 1 | -10/+32 |
2017-09-14 | die_unterminated_line(), die_invalid_line(): new functions | Michael Haggerty | 1 | -3/+25 |
2017-09-14 | packed_ref_cache: add a backlink to the associated `packed_ref_store` | Michael Haggerty | 1 | -7/+16 |
2017-09-14 | prefix_ref_iterator: break when we leave the prefix | Jeff King | 1 | -1/+31 |
2017-09-14 | ref_iterator: keep track of whether the iterator output is ordered | Michael Haggerty | 6 | -19/+42 |
2017-09-14 | convert less-trivial versions of "write_in_full() != len" | Jeff King | 1 | -1/+1 |
2017-09-14 | avoid "write_in_full(fd, buf, len) != len" pattern | Jeff King | 1 | -4/+4 |
2017-09-10 | refs/files-backend: add `refname`, not "HEAD", to list | Martin Ågren | 1 | -3/+10 |
2017-09-10 | refs/files-backend: correct return value in lock_ref_for_update | Martin Ågren | 1 | -1/+1 |
2017-09-10 | refs/files-backend: fix memory leak in lock_ref_for_update | Martin Ågren | 1 | -11/+20 |
2017-09-10 | refs/files-backend: add longer-scoped copy of string to list | Martin Ågren | 1 | -4/+14 |
2017-09-09 | files_transaction_finish(): delete reflogs before references | Michael Haggerty | 1 | -14/+21 |
2017-09-09 | packed-backend: rip out some now-unused code | Michael Haggerty | 2 | -201/+0 |
2017-09-09 | files_ref_store: use a transaction to update packed refs | Michael Haggerty | 1 | -31/+101 |
2017-09-09 | files_initial_transaction_commit(): use a transaction for packed refs | Michael Haggerty | 1 | -10/+19 |
2017-09-09 | prune_refs(): also free the linked list | Michael Haggerty | 1 | -4/+10 |
2017-09-09 | files_pack_refs(): use a reference transaction to write packed refs | Michael Haggerty | 1 | -7/+17 |
2017-09-09 | packed_delete_refs(): implement method | Michael Haggerty | 2 | -2/+45 |
2017-09-09 | packed_ref_store: implement reference transactions | Michael Haggerty | 2 | -3/+319 |
2017-09-09 | struct ref_transaction: add a place for backends to store data | Michael Haggerty | 1 | -0/+1 |
2017-09-09 | packed-backend: don't adjust the reference count on lock/unlock | Michael Haggerty | 1 | -5/+5 |
2017-09-06 | ref_lock: stop leaking lock_files | Jeff King | 1 | -23/+16 |
2017-09-06 | tempfile: auto-allocate tempfiles on heap | Jeff King | 2 | -7/+8 |
2017-09-06 | lockfile: do not rollback lock on failed close | Jeff King | 2 | -7/+9 |
2017-08-26 | Merge branch 'mh/ref-lock-entry' | Junio C Hamano | 2 | -2/+12 |
2017-08-24 | files-backend: make reflog iterator go through per-worktree reflog | Nguyễn Thái Ngọc Duy | 1 | -14/+45 |
2017-08-23 | refs: retry acquiring reference locks for 100ms | Michael Haggerty | 2 | -2/+12 |
2017-08-22 | Merge branch 'mh/packed-ref-store' | Junio C Hamano | 4 | -564/+995 |
2017-08-17 | files-backend: cheapen refname_available check when locking refs | Michael Haggerty | 1 | -4/+4 |
2017-07-27 | packed_ref_store: handle a packed-refs file that is a symlink | Michael Haggerty | 1 | -6/+18 |
2017-07-03 | read_packed_refs(): die if `packed-refs` contains bogus data | Michael Haggerty | 1 | -3/+7 |
2017-07-03 | repack_without_refs(): don't lock or unlock the packed refs | Michael Haggerty | 2 | -40/+39 |
2017-06-26 | Merge branch 'mh/packed-ref-store-prep' | Junio C Hamano | 1 | -9/+23 |
2017-06-24 | Merge branch 'ab/free-and-null' | Junio C Hamano | 2 | -4/+2 |
2017-06-24 | Merge branch 'bw/config-h' | Junio C Hamano | 1 | -0/+1 |
2017-06-23 | commit_packed_refs(): remove call to `packed_refs_unlock()` | Michael Haggerty | 2 | -10/+10 |
2017-06-23 | clear_packed_ref_cache(): don't protest if the lock is held | Michael Haggerty | 1 | -2/+0 |
2017-06-23 | packed_refs_unlock(), packed_refs_is_locked(): new functions | Michael Haggerty | 2 | -6/+28 |
2017-06-23 | packed_refs_lock(): report errors via a `struct strbuf *err` | Michael Haggerty | 3 | -13/+16 |
2017-06-23 | packed_refs_lock(): function renamed from lock_packed_refs() | Michael Haggerty | 3 | -8/+8 |
2017-06-23 | commit_packed_refs(): use a staging file separate from the lockfile | Michael Haggerty | 1 | -8/+32 |
2017-06-23 | commit_packed_refs(): report errors rather than dying | Michael Haggerty | 3 | -36/+61 |
2017-06-23 | packed_ref_store: make class into a subclass of `ref_store` | Michael Haggerty | 4 | -45/+227 |
2017-06-23 | packed-backend: new module for handling packed references | Michael Haggerty | 4 | -639/+666 |
2017-06-23 | packed_read_raw_ref(): new function, replacing `resolve_packed_ref()` | Michael Haggerty | 1 | -19/+17 |
2017-06-23 | packed_ref_store: support iteration | Michael Haggerty | 1 | -9/+110 |
2017-06-23 | packed_peel_ref(): new function, extracted from `files_peel_ref()` | Michael Haggerty | 1 | -11/+15 |
2017-06-23 | repack_without_refs(): take a `packed_ref_store *` parameter | Michael Haggerty | 1 | -10/+10 |
2017-06-23 | get_packed_ref(): take a `packed_ref_store *` parameter | Michael Haggerty | 1 | -5/+7 |
2017-06-23 | rollback_packed_refs(): take a `packed_ref_store *` parameter | Michael Haggerty | 1 | -8/+7 |
2017-06-23 | commit_packed_refs(): take a `packed_ref_store *` parameter | Michael Haggerty | 1 | -9/+9 |
2017-06-23 | lock_packed_refs(): take a `packed_ref_store *` parameter | Michael Haggerty | 1 | -9/+22 |
2017-06-23 | add_packed_ref(): take a `packed_ref_store *` parameter | Michael Haggerty | 1 | -5/+5 |
2017-06-23 | get_packed_refs(): take a `packed_ref_store *` parameter | Michael Haggerty | 1 | -5/+5 |
2017-06-23 | get_packed_ref_cache(): take a `packed_ref_store *` parameter | Michael Haggerty | 1 | -14/+12 |
2017-06-23 | validate_packed_ref_cache(): take a `packed_ref_store *` parameter | Michael Haggerty | 1 | -7/+6 |
2017-06-23 | clear_packed_ref_cache(): take a `packed_ref_store *` parameter | Michael Haggerty | 1 | -8/+8 |
2017-06-23 | packed_ref_store: move `packed_refs_lock` member here | Michael Haggerty | 1 | -15/+16 |
2017-06-23 | packed_ref_store: move `packed_refs_path` here | Michael Haggerty | 1 | -13/+12 |
2017-06-23 | packed_ref_store: new struct | Michael Haggerty | 1 | -9/+33 |
2017-06-23 | add_packed_ref(): teach function to overwrite existing refs | Michael Haggerty | 1 | -22/+18 |
2017-06-18 | branch: add a --copy (-c) option to go with --move (-m) | Sahil Dua | 2 | -8/+42 |
2017-06-16 | *.[ch] refactoring: make use of the FREE_AND_NULL() macro | Ævar Arnfjörð Bjarmason | 1 | -2/+1 |
2017-06-16 | coccinelle: make use of the "type" FREE_AND_NULL() rule | Ævar Arnfjörð Bjarmason | 1 | -2/+1 |
2017-06-15 | config: don't include config.h by default | Brandon Williams | 1 | -0/+1 |
2017-06-12 | lock_packed_refs(): fix cache validity check | Michael Haggerty | 1 | -9/+23 |
2017-05-24 | cache_ref_iterator_begin(): avoid priming unneeded directories | Michael Haggerty | 1 | -10/+85 |
2017-05-23 | create_ref_entry(): remove `check_name` option | Michael Haggerty | 3 | -11/+10 |
2017-05-23 | refs_ref_iterator_begin(): handle `GIT_REF_PARANOIA` | Michael Haggerty | 1 | -7/+4 |
2017-05-23 | read_packed_refs(): report unexpected fopen() failures | Michael Haggerty | 1 | -2/+12 |
2017-05-23 | read_packed_refs(): do more of the work of reading packed refs | Michael Haggerty | 2 | -17/+26 |
2017-05-23 | get_packed_ref_cache(): assume "packed-refs" won't change while locked | Michael Haggerty | 1 | -5/+11 |
2017-05-23 | should_pack_ref(): new function, extracted from `files_pack_refs()` | Michael Haggerty | 1 | -14/+28 |
2017-05-23 | ref_update_reject_duplicates(): expose function to whole refs module | Michael Haggerty | 2 | -17/+8 |
2017-05-23 | ref_transaction_prepare(): new optional step for reference updates | Michael Haggerty | 2 | -23/+85 |
2017-05-23 | ref_transaction_commit(): check for valid `transaction->state` | Michael Haggerty | 1 | -3/+0 |
2017-05-23 | files_transaction_cleanup(): new helper function | Michael Haggerty | 1 | -9/+24 |
2017-05-23 | files_ref_store: put the packed files lock directly in this struct | Michael Haggerty | 1 | -18/+11 |
2017-05-23 | files-backend: move `lock` member to `files_ref_store` | Michael Haggerty | 1 | -19/+17 |
2017-05-23 | ref_store: take a `msg` parameter when deleting references | Michael Haggerty | 2 | -3/+3 |
2017-05-23 | refs: use `size_t` indexes when iterating over ref transaction updates | Michael Haggerty | 1 | -2/+4 |
2017-05-23 | prefix_ref_iterator: don't trim too much | Michael Haggerty | 1 | -1/+17 |
2017-05-23 | files-backend: use `die("BUG: ...")`, not `die("internal error: ...")` | Michael Haggerty | 1 | -4/+4 |
2017-05-23 | ref_iterator_begin_fn(): fix docstring | Michael Haggerty | 1 | -3/+4 |
2017-05-23 | Merge branch 'bc/object-id' | Junio C Hamano | 4 | -87/+79 |
2017-05-16 | Merge branch 'js/larger-timestamps' | Junio C Hamano | 1 | -4/+4 |
2017-05-16 | Merge branch 'nd/worktree-kill-parse-ref' | Junio C Hamano | 2 | -44/+4 |
2017-05-08 | object: convert parse_object* to take struct object_id | brian m. carlson | 1 | -1/+1 |
2017-05-08 | refs/files-backend: convert many internals to struct object_id | brian m. carlson | 3 | -72/+60 |
2017-05-08 | refs: convert struct ref_update to use struct object_id | brian m. carlson | 2 | -16/+17 |
2017-05-08 | reflog_expire: convert to struct object_id | brian m. carlson | 1 | -2/+5 |
2017-04-27 | timestamp_t: a new data type for timestamps | Johannes Schindelin | 1 | -2/+2 |
2017-04-26 | Merge branch 'mh/separate-ref-cache' | Junio C Hamano | 4 | -1082/+959 |
2017-04-24 | refs: kill set_worktree_head_symref() | Nguyễn Thái Ngọc Duy | 1 | -44/+0 |
2017-04-24 | refs: add REFS_STORE_ALL_CAPS | Nguyễn Thái Ngọc Duy | 1 | -0/+4 |
2017-04-23 | Merge branch 'rs/misc-cppcheck-fixes' | Junio C Hamano | 1 | -8/+12 |
2017-04-23 | PRItime: introduce a new "printf format" for timestamps | Johannes Schindelin | 1 | -1/+1 |
2017-04-23 | parse_timestamp(): specify explicitly where we parse timestamps | Johannes Schindelin | 1 | -1/+1 |
2017-04-17 | files_for_each_reflog_ent_reverse(): close stream and free strbuf on error | René Scharfe | 1 | -8/+12 |
2017-04-16 | do_for_each_entry_in_dir(): delete function | Michael Haggerty | 2 | -32/+0 |