summary refs log tree commit diff
path: root/tree-diff.c
AgeCommit message (Expand)AuthorFilesLines
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
2016-06-27Merge branch 'jk/avoid-unbounded-alloca'Junio C Hamano1-6/+16
2016-06-07tree-diff: avoid alloca for large allocationsJeff King1-6/+16
2016-06-02pathspec: rename free_pathspec() to clear_pathspec()Junio C Hamano1-2/+2
2016-04-25tree-walk: convert tree_entry_extract() to use struct object_idbrian m. carlson1-1/+1
2016-04-25struct name_entry: use struct object_id instead of unsigned char sha1[20]brian m. carlson1-3/+3
2016-03-16tree-diff: catch integer overflow in combine_diff_path allocationJeff King1-2/+2
2016-02-19tree-diff: catch integer overflow in combine_diff_path allocationJeff King1-2/+2
2015-03-13diff: convert struct combine_diff_path to object_idbrian m. carlson1-5/+5
2014-04-07tree-diff: rework diff_tree() to generate diffs for multiparent cases as wellKirill Smelkov1-64/+440
2014-03-27tree-diff: reuse base str(buf) memory on sub-tree recursionKirill Smelkov1-19/+19
2014-03-27tree-diff: no need to call "full" diff_tree_sha1 from show_path()Kirill Smelkov1-2/+6
2014-03-27tree-diff: rework diff_tree interface to be sha1 basedKirill Smelkov1-32/+28
2014-03-26tree-diff: diff_tree() should now be staticKirill Smelkov1-2/+2
2014-03-26tree-diff: remove special-case diff-emitting code for empty-tree casesKirill Smelkov1-12/+14
2014-03-20tree-diff: simplify tree_entry_pathcmpKirill Smelkov1-11/+6
2014-03-20tree-diff: show_path prototype is not needed anymoreKirill Smelkov1-3/+0
2014-03-20tree-diff: rename compare_tree_entry -> tree_entry_pathcmpKirill Smelkov1-6/+9
2014-03-20tree-diff: move all action-taking code out of compare_tree_entry()Kirill Smelkov1-16/+12
2014-03-20tree-diff: don't assume compare_tree_entry() returns -1,0,1Kirill Smelkov1-8/+14