aboutsummaryrefslogtreecommitdiffstats
path: root/tree-diff.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2025-03-10hash: stop depending on `the_repository` in `null_oid()`Patrick Steinhardt1-2/+2
2025-01-09tree-diff: make list tail-passing more explicitJeff King1-26/+21
2025-01-09tree-diff: simplify emit_path() list managementJeff King1-6/+5
2025-01-09tree-diff: use the name "tail" to refer to list tailJeff King1-16/+17
2025-01-09tree-diff: drop list-tail argument to diff_tree_paths()Jeff King1-6/+8
2025-01-09tree-diff: inline path_appendnew()Jeff King1-27/+4
2025-01-09tree-diff: pass whole path string to path_appendnew()Jeff King1-5/+6
2025-01-09tree-diff: drop path_appendnew() alloc optimizationJeff King1-61/+6
2025-01-09tree-diff: clear parent array in path_appendnew()Jeff King1-2/+2
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt1-0/+1
2024-09-12environment: guard state depending on a repositoryPatrick Steinhardt1-0/+3
2024-06-14hash-ll: merge with "hash.h"Patrick Steinhardt1-0/+1
2023-08-31tree-diff: respect max_allowed_tree_depthJeff King1-8/+15
2023-08-02Merge branch 'jc/tree-walk-drop-base-offset'Junio C Hamano1-1/+1
2023-07-07tree-walk: lose base_offset that is never used in tree_entry_interestingJunio C Hamano1-1/+1
2023-06-21diff.h: remove unnecessary include of oidset.hElijah Newren1-0/+1
2023-04-24diff.h: reduce unnecessary includesElijah Newren1-0/+1
2023-04-24treewide: remove cache.h inclusion due to previous changesElijah Newren1-1/+1
2023-04-24tree-diff.c: move S_DIFFTREE_IFXMIN_NEQ define from cache.hElijah Newren1-0/+13
2021-12-07pathspec: use BUG(...) not die("BUG:%s:%d....", <file>, <line>)Ævar Arnfjörð Bjarmason1-2/+1
2021-09-16tree-diff: fix leak when not HAVE_ALLOCA_HCarlo Marcelo Arenas Belón1-1/+3
2021-04-27hash: provide per-algorithm null OIDsbrian m. carlson1-2/+2
2020-09-17bloom/diff: properly short-circuit on max_changesDerrick Stolee1-4/+1
2020-06-08diff.h: drop diff_tree_oid() & friends' return valueSZEDER Gábor1-16/+14
2020-03-30diff: halt tree-diff early after max_changesDerrick Stolee1-0/+6
2019-06-27tree-walk.c: remove the_repo from fill_tree_descriptor()Nguyễn Thái Ngọc Duy1-2/+2
2019-04-08Use 'unsigned short' for mode, like diff_filespec doesElijah Newren1-1/+1
2019-01-29Merge branch 'bc/tree-walk-oid'Junio C Hamano1-3/+3
2019-01-15tree-walk: store object_id in a separate memberbrian m. carlson1-3/+3
2018-11-19tree-walk.c: make tree_entry_interesting() take an indexNguyễn Thái Ngọc Duy1-1/+2
2018-10-19Merge branch 'nd/the-index'Junio C Hamano1-1/+1
2018-09-21tree-diff.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+1
2018-09-21diff.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+1
2018-08-29convert "oidcmp() != 0" to "!oideq()"Jeff King1-1/+1
2018-08-17refactor various if (x) FREE_AND_NULL(x) to just FREE_AND_NULL(x)Ævar Arnfjörð Bjarmason1-3/+1
2017-11-01diff: make struct diff_flags members lowercaseBrandon Williams1-8/+8
2017-11-01diff: remove DIFF_OPT_SET macroBrandon Williams1-2/+2
2017-11-01diff: remove DIFF_OPT_TST macroBrandon Williams1-6/+6
2017-08-14tree-walk: convert fill_tree_descriptor() to object_idRené Scharfe1-3/+2
2017-08-11Merge branch 'bw/object-id'Junio C Hamano1-2/+3
2017-07-17tree-diff: don't access hash of NULL object_id pointerRené Scharfe1-2/+3
2017-06-24Merge branch 'ab/free-and-null'Junio C Hamano1-4/+2
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason1-4/+2
2017-06-05tree-diff: convert path_appendnew to object_idBrandon Williams1-3/+3
2017-06-05tree-diff: convert diff_tree_paths to struct object_idBrandon Williams1-31/+32
2017-06-05tree-diff: convert try_to_follow_renames to struct object_idBrandon Williams1-3/+5
2017-06-05diff-tree: convert diff_tree_sha1 to struct object_idBrandon Williams1-5/+7
2017-06-02tree-diff: convert diff_root_tree_sha1 to struct object_idBrandon Williams1-2/+2
2017-06-02diff: convert diff_change to struct object_idBrandon Williams1-1/+1
2017-06-02diff: convert diff_addremove to struct object_idBrandon Williams1-4/+4