index
:
git.git
main
maint
master
next
seen
todo
The core git plumbing
Junio C. Hamano
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
refs
/
packed-backend.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-05-07
refs: remove `create_symref` and associated dead code
Karthik Nayak
1
-1
/
+0
2024-02-21
refs: always treat iterators as ordered
Patrick Steinhardt
1
-1
/
+1
2024-01-26
Merge branch 'ps/worktree-refdb-initialization'
Junio C Hamano
1
-0
/
+1
2024-01-16
Merge branch 'ps/refstorage-extension'
Junio C Hamano
1
-1
/
+0
2024-01-08
Merge branch 'en/header-cleanup'
Junio C Hamano
1
-1
/
+0
2024-01-08
refs: prepare `refs_init_db()` for initializing worktree refs
Patrick Steinhardt
1
-0
/
+1
2024-01-02
refs: refactor logic to look up storage backends
Patrick Steinhardt
1
-1
/
+0
2023-12-26
treewide: remove unnecessary includes in source files
Elijah Newren
1
-1
/
+0
2023-11-17
refs: remove `delete_refs` callback from backends
Patrick Steinhardt
1
-7
/
+0
2023-11-17
refs: deduplicate code to delete references
Patrick Steinhardt
1
-44
/
+1
2023-07-21
Merge branch 'tb/refs-exclusion-and-packed-refs'
Junio C Hamano
1
-22
/
+182
2023-07-10
refs/packed-backend.c: add trace2 counters for jump list
Taylor Blau
1
-0
/
+2
2023-07-10
refs/packed-backend.c: implement jump lists to avoid excluded pattern(s)
Taylor Blau
1
-6
/
+157
2023-07-10
refs/packed-backend.c: refactor `find_reference_location()`
Taylor Blau
1
-16
/
+22
2023-07-10
refs: plumb `exclude_patterns` argument throughout
Taylor Blau
1
-2
/
+3
2023-06-21
cache.h: remove this no-longer-used header
Elijah Newren
1
-1
/
+1
2023-06-21
statinfo: move stat_{data,validity} functions from cache/read-cache
Elijah Newren
1
-0
/
+1
2023-06-13
Merge branch 'jc/pack-ref-exclude-include'
Junio C Hamano
1
-1
/
+1
2023-05-12
pack-refs: teach --exclude option to exclude refs from being packed
John Cai
1
-1
/
+1
2023-05-09
Merge branch 'en/header-split-cache-h-part-2'
Junio C Hamano
1
-0
/
+1
2023-05-02
Merge branch 'tb/ban-strtok'
Junio C Hamano
1
-1
/
+1
2023-04-24
string-list: multi-delimiter `string_list_split_in_place()`
Taylor Blau
1
-1
/
+1
2023-04-24
hash-ll.h: split out of hash.h to remove dependency on repository.h
Elijah Newren
1
-0
/
+1
2023-04-11
treewide: remove double forward declaration of read_in_full
Elijah Newren
1
-0
/
+1
2023-03-21
write-or-die.h: move declarations for write-or-die.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
treewide: be explicit about dependence on gettext.h
Elijah Newren
1
-0
/
+1
2023-03-21
treewide: remove unnecessary cache.h inclusion from a few headers
Elijah Newren
1
-1
/
+1
2023-02-23
cache.h: remove dependence on hex.h; make other files include it explicitly
Elijah Newren
1
-0
/
+1
2023-02-23
alloc.h: move ALLOC_GROW() functions from cache.h
Elijah Newren
1
-1
/
+2
2023-01-02
Merge branch 'ps/fsync-refs-fix'
Junio C Hamano
1
-1
/
+2
2022-12-25
refs: fix corruption by not correctly syncing packed-refs to disk
Patrick Steinhardt
1
-1
/
+2
2022-09-19
refs: unify parse_worktree_ref() and ref_type()
Han-Wen Nienhuys
1
-1
/
+1
2022-09-01
git-compat-util.h: use "UNUSED", not "UNUSED(var)"
Ævar Arnfjörð Bjarmason
1
-8
/
+8
2022-08-19
refs: mark unused virtual method parameters
Jeff King
1
-6
/
+8
2022-04-13
Revert "Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'"
Junio C Hamano
1
-21
/
+7
2022-03-29
Merge branch 'ab/refs-various-fixes'
Junio C Hamano
1
-99
/
+29
2022-03-25
Merge branch 'ps/fsync-refs'
Junio C Hamano
1
-1
/
+2
2022-03-17
packed-backend: remove stub BUG(...) functions
Ævar Arnfjörð Bjarmason
1
-79
/
+9
2022-03-17
refs: use designated initializers for "struct ref_iterator_vtable"
Ævar Arnfjörð Bjarmason
1
-3
/
+3
2022-03-17
refs: use designated initializers for "struct ref_storage_be"
Ævar Arnfjörð Bjarmason
1
-26
/
+26
2022-03-15
core.fsync: new option to harden references
Patrick Steinhardt
1
-1
/
+2
2022-03-01
refs: add ability for backends to special-case reading of symbolic refs
Patrick Steinhardt
1
-0
/
+1
2022-02-18
Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'
Junio C Hamano
1
-7
/
+21
2022-01-17
refs: allow passing flags when beginning transactions
Patrick Steinhardt
1
-1
/
+1
2022-01-17
refs: extract packed_refs_delete_refs() to allow control of transaction
Patrick Steinhardt
1
-6
/
+20
2021-12-22
refs: centralize initialization of the base ref_store.
Han-Wen Nienhuys
1
-4
/
+2
2021-12-22
refs: pass gitdir to packed_ref_store_create
Han-Wen Nienhuys
1
-4
/
+5
2021-12-10
Merge branch 'hn/create-reflog-simplify'
Junio C Hamano
1
-2
/
+1
2021-11-29
Merge branch 'ab/refs-errno-cleanup'
Junio C Hamano
1
-3
/
+4
2021-11-22
refs: drop force_create argument of create_reflog API
Han-Wen Nienhuys
1
-2
/
+1
2021-10-25
Merge branch 'jt/no-abuse-alternate-odb-for-submodules'
Junio C Hamano
1
-3
/
+10
2021-10-16
refs API: make refs_read_raw_ref() not set errno
Han-Wen Nienhuys
1
-3
/
+4
2021-10-08
refs: peeling non-the_repository iterators is BUG
Jonathan Tan
1
-0
/
+3
2021-10-08
refs: teach arbitrary repo support to iterators
Jonathan Tan
1
-2
/
+4
2021-10-08
refs: plumb repo into ref stores
Jonathan Tan
1
-1
/
+3
2021-08-25
refs: make errno output explicit for read_raw_ref_fn
Han-Wen Nienhuys
1
-4
/
+4
2021-08-25
refs API: remove OID argument to reflog_expire()
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2021-08-19
refs/packet: add missing BUG() invocations to reflog callbacks
Ævar Arnfjörð Bjarmason
1
-0
/
+5
2021-07-16
Merge branch 'ab/struct-init'
Junio C Hamano
1
-1
/
+1
2021-07-01
string-list.h users: change to use *_{nodup,dup}()
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2021-05-20
refs: make explicit that ref_iterator_peel returns boolean
Han-Wen Nienhuys
1
-1
/
+1
2021-03-13
use CALLOC_ARRAY
René Scharfe
1
-2
/
+2
2020-08-19
refs: move gitdir into base ref_store
Han-Wen Nienhuys
1
-0
/
+1
2019-08-02
pack-refs: always refresh after taking the lock file
Sun Chao
1
-7
/
+16
2018-10-15
refs/packed-backend: express constants using the_hash_algo
brian m. carlson
1
-7
/
+7
2018-08-29
convert "oidcmp() != 0" to "!oideq()"
Jeff King
1
-1
/
+1
2018-06-01
refs/packed-backend.c: close fd of empty file
Stefan Beller
1
-0
/
+1
2018-05-06
Replace all die("BUG: ...") calls by BUG() ones
Johannes Schindelin
1
-8
/
+8
2018-03-30
refs: use chdir_notify to update cached relative paths
Jeff King
1
-0
/
+3
2018-02-15
Merge branch 'kg/packed-ref-cache-fix'
Junio C Hamano
1
-51
/
+55
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
2017-12-06
Merge branch 'mh/avoid-rewriting-packed-refs' into maint
Junio C Hamano
1
-0
/
+94
2017-11-15
Merge branch 'mh/tidy-ref-update-flags'
Junio C Hamano
1
-9
/
+9
2017-11-15
Merge branch 'mh/avoid-rewriting-packed-refs'
Junio C Hamano
1
-0
/
+94
2017-11-06
refs: update some more docs to use "oid" rather than "sha1"
Michael Haggerty
1
-1
/
+1
2017-11-06
write_packed_entry(): take `object_id` arguments
Michael Haggerty
1
-8
/
+8
2017-10-30
files-backend: don't rewrite the `packed-refs` file unnecessarily
Michael Haggerty
1
-0
/
+94
2017-10-16
refs: convert read_raw_ref backends to struct object_id
brian m. carlson
1
-2
/
+2
2017-10-16
refs: convert peel_object to struct object_id
brian m. carlson
1
-3
/
+3
2017-10-16
refs: convert reflog_expire parameter to struct object_id
brian m. carlson
1
-1
/
+1
2017-10-05
Merge branch 'rs/cleanup-strbuf-users'
Junio C Hamano
1
-2
/
+2
2017-10-03
Merge branch 'mh/mmap-packed-refs'
Junio C Hamano
1
-237
/
+742
2017-10-03
Merge branch 'sd/branch-copy'
Junio C Hamano
1
-0
/
+8
2017-10-02
use strbuf_addstr() for adding strings to strbufs
René Scharfe
1
-2
/
+2
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
1
-1
/
+8
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
1
-36
/
+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-19
Merge branch 'mh/packed-ref-transactions'
Junio C Hamano
1
-152
/
+310
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
ref_iterator: keep track of whether the iterator output is ordered
Michael Haggerty
1
-1
/
+1
2017-09-09
packed-backend: rip out some now-unused code
Michael Haggerty
1
-193
/
+0
2017-09-09
packed_delete_refs(): implement method
Michael Haggerty
1
-1
/
+44
2017-09-09
packed_ref_store: implement reference transactions
Michael Haggerty
1
-3
/
+310
2017-09-09
packed-backend: don't adjust the reference count on lock/unlock
Michael Haggerty
1
-5
/
+5
2017-09-06
tempfile: auto-allocate tempfiles on heap
Jeff King
1
-5
/
+6
2017-09-06
lockfile: do not rollback lock on failed close
Jeff King
1
-1
/
+2
2017-08-22
Merge branch 'mh/packed-ref-store'
Junio C Hamano
1
-0
/
+885
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
1
-24
/
+8
2017-06-23
commit_packed_refs(): remove call to `packed_refs_unlock()`
Michael Haggerty
1
-10
/
+8
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
1
-6
/
+25
2017-06-23
packed_refs_lock(): report errors via a `struct strbuf *err`
Michael Haggerty
1
-6
/
+11
2017-06-23
packed_refs_lock(): function renamed from lock_packed_refs()
Michael Haggerty
1
-5
/
+5
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
1
-30
/
+55
2017-06-23
packed_ref_store: make class into a subclass of `ref_store`
Michael Haggerty
1
-20
/
+212
2017-06-23
packed-backend: new module for handling packed references
Michael Haggerty
1
-0
/
+623