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