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
/
cache-tree.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-03-28
Merge branch 'eb/hash-transition'
Junio C Hamano
1
-2
/
+2
2024-03-07
Merge branch 'js/merge-tree-3-trees'
Junio C Hamano
1
-2
/
+2
2024-02-23
cache-tree: avoid an unnecessary check
Johannes Schindelin
1
-1
/
+1
2024-02-23
Always check `parse_tree*()`'s return value
Johannes Schindelin
1
-2
/
+2
2023-12-26
treewide: remove unnecessary includes in source files
Elijah Newren
1
-1
/
+0
2023-10-02
tree-walk: init_tree_desc take an oid to get the hash algorithm
Eric W. Biederman
1
-1
/
+1
2023-10-02
object-file: add a compat_oid_in parameter to write_object_file_flags
Eric W. Biederman
1
-1
/
+1
2023-07-05
git-compat-util: move alloc macros to git-compat-util.h
Calvin Wan
1
-1
/
+0
2023-06-21
object-store-ll.h: split this header out of object-store.h
Elijah Newren
1
-1
/
+1
2023-06-21
cache.h: remove this no-longer-used header
Elijah Newren
1
-1
/
+1
2023-06-21
read-cache*.h: move declarations for read-cache.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-04-11
object-file.h: move declarations for object-file.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-04-11
treewide: be explicit about dependence on trace.h & trace2.h
Elijah Newren
1
-0
/
+2
2023-04-04
Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...
Junio C Hamano
1
-8
/
+8
2023-03-28
libs: use "struct repository *" argument, not "the_repository"
Ævar Arnfjörð Bjarmason
1
-2
/
+2
2023-03-28
cocci: apply the "promisor-remote.h" part of "the_repository.pending"
Ævar Arnfjörð Bjarmason
1
-2
/
+2
2023-03-28
cocci: apply the "object-store.h" part of "the_repository.pending"
Ævar Arnfjörð Bjarmason
1
-4
/
+4
2023-03-21
environment.h: move declarations for environment.c functions from cache.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-02-22
Merge branch 'rs/cache-tree-strbuf-growth-fix'
Junio C Hamano
1
-2
/
+1
2023-02-10
cache-tree: fix strbuf growth in prime_cache_tree_rec()
René Scharfe
1
-2
/
+1
2023-01-08
*: fix typos which duplicate a word
Andrei Rybak
1
-1
/
+1
2022-08-20
verify_one_sparse(): drop unused parameters
Jeff King
1
-4
/
+2
2022-06-16
cache-tree: remove cache_tree_find_path()
Derrick Stolee
1
-27
/
+0
2022-06-10
Merge branch 'ab/bug-if-bug'
Junio C Hamano
1
-4
/
+4
2022-06-03
Merge branch 'ds/sparse-sparse-checkout'
Junio C Hamano
1
-0
/
+27
2022-06-03
Merge branch 'ns/batch-fsync'
Junio C Hamano
1
-0
/
+3
2022-06-02
cache-tree.c: use bug() and BUG_if_bug()
Ævar Arnfjörð Bjarmason
1
-4
/
+4
2022-05-23
cache-tree: implement cache_tree_find_path()
Derrick Stolee
1
-0
/
+27
2022-04-06
cache-tree: use ODB transaction around writing a tree
Neeraj Singh
1
-0
/
+3
2022-02-25
object-file API: have hash_object_file() take "enum object_type"
Ævar Arnfjörð Bjarmason
1
-3
/
+3
2022-02-25
object-file API: have write_object_file() take "enum object_type"
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2021-12-10
Merge branch 'vd/sparse-reset'
Junio C Hamano
1
-3
/
+43
2021-11-29
reset: make sparse-aware (except --mixed)
Victoria Dye
1
-4
/
+43
2021-11-29
reset: integrate with sparse index
Victoria Dye
1
-0
/
+1
2021-10-25
Merge branch 'pw/sparse-cache-tree-verify-fix'
Junio C Hamano
1
-8
/
+29
2021-10-12
commit: fix duplication regression in permission error output
Ævar Arnfjörð Bjarmason
1
-2
/
+3
2021-10-07
sparse index: fix use-after-free bug in cache_tree_verify()
Phillip Wood
1
-8
/
+29
2021-08-04
Merge branch 'ds/commit-and-checkout-with-sparse-index'
Junio C Hamano
1
-2
/
+0
2021-07-23
cache-tree: prefetch in partial clone read-tree
Jonathan Tan
1
-2
/
+9
2021-07-14
commit: integrate with sparse-index
Derrick Stolee
1
-2
/
+0
2021-04-30
Merge branch 'ds/sparse-index-protections'
Junio C Hamano
1
-0
/
+40
2021-03-30
sparse-index: loose integration with cache_tree_verify()
Derrick Stolee
1
-0
/
+19
2021-03-30
cache-tree: integrate with sparse directory entries
Derrick Stolee
1
-0
/
+18
2021-03-30
sparse-index: convert from full to sparse
Derrick Stolee
1
-0
/
+3
2021-03-13
use CALLOC_ARRAY
René Scharfe
1
-1
/
+1
2021-01-23
cache-tree: extract subtree_pos()
Derrick Stolee
1
-3
/
+3
2021-01-23
cache-tree: simplify verify_cache() prototype
Derrick Stolee
1
-9
/
+8
2021-01-23
cache-tree: clean up cache_tree_update()
Derrick Stolee
1
-8
/
+9
2021-01-15
cache-tree: speed up consecutive path comparisons
Derrick Stolee
1
-2
/
+2
2021-01-15
cache-tree: use ce_namelen() instead of strlen()
René Scharfe
1
-4
/
+6
2021-01-15
cache-tree: trace regions for prime_cache_tree
Derrick Stolee
1
-0
/
+3
2021-01-15
cache-tree: trace regions for I/O
Derrick Stolee
1
-1
/
+10
2021-01-04
cache-tree: use trace2 in cache_tree_update()
Derrick Stolee
1
-0
/
+2
2020-01-31
sha1-file: pass git_hash_algo to hash_object_file()
Matheus Tavares
1
-3
/
+6
2020-01-31
cache-tree: use given repo's hash_algo at verify_one()
Matheus Tavares
1
-1
/
+1
2019-10-15
Merge branch 'en/merge-recursive-cleanup'
Junio C Hamano
1
-23
/
+62
2019-10-07
Merge branch 'jt/cache-tree-avoid-lazy-fetch-during-merge'
Junio C Hamano
1
-1
/
+1
2019-09-18
Merge branch 'cc/multi-promisor'
Junio C Hamano
1
-1
/
+2
2019-09-09
cache-tree: do not lazy-fetch tentative tree
Jonathan Tan
1
-1
/
+1
2019-08-22
Merge branch 'jk/tree-walk-overflow'
Junio C Hamano
1
-1
/
+1
2019-08-19
cache-tree: share code between functions writing an index as a tree
Elijah Newren
1
-23
/
+62
2019-07-31
tree-walk: drop oid from traverse_info
Jeff King
1
-1
/
+1
2019-06-25
Use promisor_remote_get_direct() and has_promisor_remote()
Christian Couder
1
-1
/
+2
2019-06-20
cache-tree/blame: avoid reusing the DEBUG constant
Jeff Hostetler
1
-7
/
+7
2019-02-06
Merge branch 'jk/loose-object-cache-oid'
Junio C Hamano
1
-2
/
+2
2019-01-29
Merge branch 'bc/tree-walk-oid'
Junio C Hamano
1
-2
/
+2
2019-01-15
tree-walk: store object_id in a separate member
brian m. carlson
1
-2
/
+2
2019-01-14
Merge branch 'nd/indentation-fix'
Junio C Hamano
1
-1
/
+1
2019-01-08
convert has_sha1_file() callers to has_object_file()
Jeff King
1
-2
/
+2
2018-12-09
Indent code with TABs
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2018-11-12
cache-tree.c: remove the_repository references
Nguyễn Thái Ngọc Duy
1
-11
/
+15
2018-10-19
Merge branch 'jt/cache-tree-allow-missing-object-in-partial-clone'
Junio C Hamano
1
-1
/
+5
2018-10-10
cache-tree: skip some blob checks in partial clone
Jonathan Tan
1
-1
/
+5
2018-10-04
more oideq/hasheq conversions
Jeff King
1
-1
/
+1
2018-09-17
Merge branch 'jk/cocci'
Junio C Hamano
1
-1
/
+1
2018-09-17
Merge branch 'nd/unpack-trees-with-cache-tree'
Junio C Hamano
1
-0
/
+80
2018-08-29
convert "oidcmp() == 0" to oideq()
Jeff King
1
-1
/
+1
2018-08-18
cache-tree: verify valid cache-tree in the test suite
Nguyễn Thái Ngọc Duy
1
-0
/
+78
2018-08-18
unpack-trees: add performance tracing
Nguyễn Thái Ngọc Duy
1
-0
/
+2
2018-08-13
cache-tree: wrap the_index based wrappers with #ifdef
Nguyễn Thái Ngọc Duy
1
-12
/
+0
2018-06-29
tree: add repository argument to lookup_tree
Stefan Beller
1
-1
/
+2
2018-06-29
Merge branch 'sb/object-store-grafts' into sb/object-store-lookup
Junio C Hamano
1
-0
/
+1
2018-05-16
object-store: move object access functions to object-store.h
Stefan Beller
1
-0
/
+1
2018-05-02
cache-tree: use is_empty_tree_oid
brian m. carlson
1
-1
/
+1
2018-05-02
cache: add a function to read an object ID from a buffer
brian m. carlson
1
-1
/
+1
2018-03-14
cache-tree: convert remnants to struct object_id
brian m. carlson
1
-14
/
+15
2018-03-14
cache-tree: convert write_*_as_tree to object_id
brian m. carlson
1
-5
/
+5
2018-02-15
Merge branch 'po/object-id'
Junio C Hamano
1
-8
/
+8
2018-02-13
Merge branch 'sg/cocci-move-array'
Junio C Hamano
1
-3
/
+2
2018-02-13
Merge branch 'tg/split-index-fixes'
Junio C Hamano
1
-1
/
+1
2018-01-30
sha1_file: convert write_sha1_file to object_id
Patryk Obara
1
-2
/
+3
2018-01-30
sha1_file: convert hash_sha1_file to object_id
Patryk Obara
1
-6
/
+5
2018-01-22
Use MOVE_ARRAY
SZEDER Gábor
1
-3
/
+2
2018-01-19
read-cache: fix reading the shared index for other repos
Thomas Gummerer
1
-1
/
+1
2017-11-06
Merge branch 'ma/lockfile-fixes'
Junio C Hamano
1
-8
/
+4
2017-10-10
cleanup: fix possible overflow errors in binary search
Derrick Stolee
1
-1
/
+1
2017-10-06
cache-tree: simplify locking logic
Martin Ågren
1
-8
/
+4
2017-09-06
stop leaking lock structs in some simple cases
Jeff King
1
-10
/
+4
2017-09-06
write_index_as_tree: cleanup tempfile on error
Jeff King
1
-8
/
+15
2017-07-17
use MOVE_ARRAY
René Scharfe
1
-3
/
+2
2017-05-29
Merge branch 'bc/object-id'
Junio C Hamano
1
-16
/
+17
2017-05-08
Convert lookup_tree to struct object_id
brian m. carlson
1
-1
/
+1
2017-05-02
Convert struct cache_tree to use struct object_id
brian m. carlson
1
-15
/
+16
2017-04-23
cache-tree: reject entries with null sha1
Jeff King
1
-1
/
+3
2016-09-07
cache: convert struct cache_entry to use struct object_id
brian m. carlson
1
-2
/
+2
2016-07-18
cache-tree: do not generate empty trees as a result of all i-t-a subentries
Nguyễn Thái Ngọc Duy
1
-1
/
+9
2016-07-18
cache-tree.c: fix i-t-a entry skipping directory updates sometimes
Nguyễn Thái Ngọc Duy
1
-2
/
+2
2016-04-25
struct name_entry: use struct object_id instead of unsigned char sha1[20]
brian m. carlson
1
-2
/
+2
2016-02-26
Merge branch 'jk/tighten-alloc'
Junio C Hamano
1
-3
/
+1
2016-02-22
convert trivial cases to FLEX_ARRAY macros
Jeff King
1
-3
/
+1
2016-01-20
Merge branch 'nd/ita-cleanup'
Junio C Hamano
1
-1
/
+1
2015-11-20
Remove get_object_hash.
brian m. carlson
1
-1
/
+1
2015-11-20
Add several uses of get_object_hash.
brian m. carlson
1
-1
/
+1
2015-09-06
add and use a convenience macro ce_intent_to_add()
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2015-08-04
cache-tree: introduce write_index_as_tree()
Paul Tan
1
-12
/
+17
2014-11-06
Merge branch 'jk/cache-tree-protect-from-broken-libgit2'
Junio C Hamano
1
-0
/
+2
2014-10-30
cache-tree: avoid infinite loop on zero-entry tree
Jeff King
1
-0
/
+2
2014-10-01
lockfile.h: extract new header file for the functions in lockfile.c
Michael Haggerty
1
-0
/
+1
2014-09-11
Merge branch 'dt/cache-tree-repair'
Junio C Hamano
1
-2
/
+17
2014-09-03
cache-tree: do not try to use an invalidated subtree info to build a tree
Junio C Hamano
1
-1
/
+6
2014-07-07
cache-tree: create/update cache-tree on checkout
David Turner
1
-1
/
+11
2014-06-13
cache-tree: mark istate->cache_changed on prime_cache_tree()
Nguyễn Thái Ngọc Duy
1
-4
/
+5
2014-06-13
cache-tree: mark istate->cache_changed on cache tree update
Nguyễn Thái Ngọc Duy
1
-14
/
+11
2014-06-13
cache-tree: mark istate->cache_changed on cache tree invalidation
Nguyễn Thái Ngọc Duy
1
-4
/
+11
2014-06-13
read-cache: new API write_locked_index instead of write_index/write_cache
Nguyễn Thái Ngọc Duy
1
-2
/
+1
2014-03-18
Merge branch 'rm/strchrnul-not-strlen'
Junio C Hamano
1
-4
/
+3
2014-03-18
Merge branch 'mh/simplify-cache-tree-find'
Junio C Hamano
1
-10
/
+7
2014-03-10
use strchrnul() in place of strchr() and strlen()
Rohit Mani
1
-9
/
+6
2014-03-05
cache_tree_find(): use path variable when passing over slashes
Michael Haggerty
1
-2
/
+3
2014-03-05
cache_tree_find(): remove early return
Michael Haggerty
1
-2
/
+0
2014-03-05
cache_tree_find(): remove redundant check
Michael Haggerty
1
-1
/
+1
2014-03-05
cache_tree_find(): fix comment formatting
Michael Haggerty
1
-2
/
+3
2014-03-05
cache_tree_find(): find the end of path component using strchrnul()
Michael Haggerty
1
-3
/
+1
2014-03-05
cache_tree_find(): remove redundant checks
Michael Haggerty
1
-4
/
+3
2014-03-03
cache-tree.c: use ALLOC_GROW() in find_subtree()
Dmitry S. Dolzhenko
1
-5
/
+1
2013-07-09
Convert "struct cache_entry *" to "const ..." wherever possible
Nguyễn Thái Ngọc Duy
1
-9
/
+10
2012-12-15
cache-tree: invalidate i-t-a paths after generating trees
Nguyễn Thái Ngọc Duy
1
-2
/
+12
2012-12-15
cache-tree: fix writing cache-tree when CE_REMOVE is present
Nguyễn Thái Ngọc Duy
1
-7
/
+23
2012-12-15
cache-tree: replace "for" loops in update_one with "while" loops
Nguyễn Thái Ngọc Duy
1
-5
/
+10
2012-12-15
cache-tree: remove dead i-t-a code in verify_cache()
Nguyễn Thái Ngọc Duy
1
-6
/
+2
2012-02-12
Merge branch 'nd/cache-tree-api-refactor'
Junio C Hamano
1
-15
/
+12
2012-02-12
Merge branch 'jc/maint-commit-ignore-i-t-a'
Junio C Hamano
1
-3
/
+3
2012-02-07
cache-tree: update API to take abitrary flags
Nguyễn Thái Ngọc Duy
1
-15
/
+12
2012-02-07
commit: ignore intent-to-add entries instead of refusing
Junio C Hamano
1
-3
/
+3
2011-12-06
Refactor cache_tree_update idiom from commit
Thomas Rast
1
-4
/
+15
2010-09-06
cache_tree_free: Fix small memory leak
Elijah Newren
1
-1
/
+3
2010-08-11
write-tree: Avoid leak when index refers to an invalid object
Jonathan Nieder
1
-1
/
+3
2009-07-14
Improve on the 'invalid object' error message at commit time
Linus Torvalds
1
-1
/
+2
2009-05-25
Optimize "diff-index --cached" using cache-tree
Junio C Hamano
1
-0
/
+32
2009-05-25
cache-tree.c::cache_tree_find(): simplify internal API
Junio C Hamano
1
-0
/
+2
2009-05-20
write-tree --ignore-cache-tree
Junio C Hamano
1
-3
/
+7
2009-04-20
Move prime_cache_tree() to cache-tree.c
Junio C Hamano
1
-0
/
+34
2008-11-30
git add --intent-to-add: do not let an empty blob be committed by accident
Junio C Hamano
1
-3
/
+7
2008-07-16
cache-tree.c: make cache_tree_find() static
Nanako Shiraishi
1
-1
/
+1
2008-04-24
Merge branch 'maint-1.5.4' into maint
Junio C Hamano
1
-2
/
+5
2008-04-23
write-tree: properly detect failure to write tree objects
Junio C Hamano
1
-2
/
+5
2008-02-11
Merge branch 'jc/error-message-in-cherry-pick'
Junio C Hamano
1
-0
/
+55
2008-02-05
Make error messages from cherry-pick/revert more sensible
Junio C Hamano
1
-0
/
+55
2008-01-21
Make on-disk index representation separate from in-core one
Linus Torvalds
1
-2
/
+2
2007-09-26
Small cache_tree_write refactor.
Pierre Habouzit
1
-14
/
+5
2007-09-16
Now that cache.h needs strbuf.h, remove useless includes.
Pierre Habouzit
1
-1
/
+0
2007-09-10
Strbuf API extensions and fixes.
Pierre Habouzit
1
-3
/
+2
2007-09-06
Use strbuf API in cache-tree.c
Pierre Habouzit
1
-37
/
+22
2007-06-22
Two trivial -Wcast-qual fixes
Junio C Hamano
1
-1
/
+1
2007-05-21
rename dirlink to gitlink.
Martin Waitz
1
-1
/
+1
2007-04-10
Teach core object handling functions about gitlinks
Linus Torvalds
1
-1
/
+1
2006-11-13
Catch errors when writing an index that contains invalid objects.
Johannes Sixt
1
-0
/
+2
2006-10-30
Surround "#define DEBUG 0" with "#ifndef DEBUG..#endif"
Junio C Hamano
1
-0
/
+2
2006-10-14
Add hash_sha1_file()
Rene Scharfe
1
-6
/
+2
2006-08-23
Convert memcpy(a,b,20) to hashcpy(a,b).
Shawn Pearce
1
-3
/
+3
2006-05-07
Merge branch 'jc/gitlink' into next
Junio C Hamano
1
-0
/
+26
2006-05-03
cache-tree: a bit more debugging support.
Junio C Hamano
1
-2
/
+6
2006-05-01
write-tree: --prefix=<path>
Junio C Hamano
1
-0
/
+26
2006-05-01
cache-tree: replace a sscanf() by two strtol() calls
Johannes Schindelin
1
-1
/
+10
2006-04-27
cache-tree.c: typefix
Junio C Hamano
1
-1
/
+1
2006-04-27
cache_tree_update: give an option to update cache-tree only.
Junio C Hamano
1
-5
/
+15
2006-04-27
read-tree: teach 1-way merege and plain read to prime cache-tree.
Junio C Hamano
1
-3
/
+8
2006-04-25
cache-tree: sort the subtree entries.
Junio C Hamano
1
-26
/
+66
2006-04-24
index: make the index file format extensible.
Junio C Hamano
1
-82
/
+26
2006-04-24
cache-tree: protect against "git prune".
Junio C Hamano
1
-1
/
+1
2006-04-23
Add cache-tree.
Junio C Hamano
1
-0
/
+519