summaryrefslogtreecommitdiff
path: root/tree-diff.c
AgeCommit message (Expand)AuthorFilesLines
2018-10-19Merge branch 'nd/the-index'Libravatar Junio C Hamano1-1/+1
2018-09-21tree-diff.c: remove implicit dependency on the_indexLibravatar Nguyễn Thái Ngọc Duy1-1/+1
2018-09-21diff.c: remove implicit dependency on the_indexLibravatar Nguyễn Thái Ngọc Duy1-1/+1
2018-08-29convert "oidcmp() != 0" to "!oideq()"Libravatar Jeff King1-1/+1
2018-08-17refactor various if (x) FREE_AND_NULL(x) to just FREE_AND_NULL(x)Libravatar Ævar Arnfjörð Bjarmason1-3/+1
2017-11-01diff: make struct diff_flags members lowercaseLibravatar Brandon Williams1-8/+8
2017-11-01diff: remove DIFF_OPT_SET macroLibravatar Brandon Williams1-2/+2
2017-11-01diff: remove DIFF_OPT_TST macroLibravatar Brandon Williams1-6/+6
2017-08-14tree-walk: convert fill_tree_descriptor() to object_idLibravatar René Scharfe1-3/+2
2017-08-11Merge branch 'bw/object-id'Libravatar Junio C Hamano1-2/+3
2017-07-17tree-diff: don't access hash of NULL object_id pointerLibravatar René Scharfe1-2/+3
2017-06-24Merge branch 'ab/free-and-null'Libravatar Junio C Hamano1-4/+2
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleLibravatar Ævar Arnfjörð Bjarmason1-4/+2
2017-06-05tree-diff: convert path_appendnew to object_idLibravatar Brandon Williams1-3/+3
2017-06-05tree-diff: convert diff_tree_paths to struct object_idLibravatar Brandon Williams1-31/+32
2017-06-05tree-diff: convert try_to_follow_renames to struct object_idLibravatar Brandon Williams1-3/+5
2017-06-05diff-tree: convert diff_tree_sha1 to struct object_idLibravatar Brandon Williams1-5/+7
2017-06-02tree-diff: convert diff_root_tree_sha1 to struct object_idLibravatar Brandon Williams1-2/+2
2017-06-02diff: convert diff_change to struct object_idLibravatar Brandon Williams1-1/+1
2017-06-02diff: convert diff_addremove to struct object_idLibravatar Brandon Williams1-4/+4
2016-06-27Merge branch 'jk/avoid-unbounded-alloca'Libravatar Junio C Hamano1-6/+16
2016-06-07tree-diff: avoid alloca for large allocationsLibravatar Jeff King1-6/+16
2016-06-02pathspec: rename free_pathspec() to clear_pathspec()Libravatar Junio C Hamano1-2/+2
2016-04-25tree-walk: convert tree_entry_extract() to use struct object_idLibravatar brian m. carlson1-1/+1
2016-04-25struct name_entry: use struct object_id instead of unsigned char sha1[20]Libravatar brian m. carlson1-3/+3
2016-03-16tree-diff: catch integer overflow in combine_diff_path allocationLibravatar Jeff King1-2/+2
2016-02-19tree-diff: catch integer overflow in combine_diff_path allocationLibravatar Jeff King1-2/+2
2015-03-13diff: convert struct combine_diff_path to object_idLibravatar brian m. carlson1-5/+5
2014-04-07tree-diff: rework diff_tree() to generate diffs for multiparent cases as wellLibravatar Kirill Smelkov1-64/+440
2014-03-27tree-diff: reuse base str(buf) memory on sub-tree recursionLibravatar Kirill Smelkov1-19/+19
2014-03-27tree-diff: no need to call "full" diff_tree_sha1 from show_path()Libravatar Kirill Smelkov1-2/+6
2014-03-27tree-diff: rework diff_tree interface to be sha1 basedLibravatar Kirill Smelkov1-32/+28
2014-03-26tree-diff: diff_tree() should now be staticLibravatar Kirill Smelkov1-2/+2
2014-03-26tree-diff: remove special-case diff-emitting code for empty-tree casesLibravatar Kirill Smelkov1-12/+14
2014-03-20tree-diff: simplify tree_entry_pathcmpLibravatar Kirill Smelkov1-11/+6
2014-03-20tree-diff: show_path prototype is not needed anymoreLibravatar Kirill Smelkov1-3/+0
2014-03-20tree-diff: rename compare_tree_entry -> tree_entry_pathcmpLibravatar Kirill Smelkov1-6/+9
2014-03-20tree-diff: move all action-taking code out of compare_tree_entry()Libravatar Kirill Smelkov1-16/+12
2014-03-20tree-diff: don't assume compare_tree_entry() returns -1,0,1Libravatar Kirill Smelkov1-8/+14
2014-03-20tree-diff: consolidate code for emitting diffs and recursion in one placeLibravatar Kirill Smelkov1-30/+82
2014-03-04tree-diff: show_tree() is not neededLibravatar Kirill Smelkov1-32/+3
2014-02-24tree-diff: no need to pass match to skip_uninteresting()Libravatar Kirill Smelkov1-9/+8
2014-02-24tree-diff: no need to manually verify that there is no mode change for a pathLibravatar Kirill Smelkov1-10/+5
2014-02-05tree-diff: convert diff_root_tree_sha1() to just call diff_tree_sha1 with old...Libravatar Kirill Smelkov1-14/+1
2014-02-05tree-diff: allow diff_tree_sha1 to accept NULL sha1Libravatar Kirill Smelkov1-8/+4
2013-10-28pathspec: stop --*-pathspecs impact on internal parse_pathspec() usesLibravatar Nguyễn Thái Ngọc Duy1-1/+3
2013-07-15pathspec: support :(literal) syntax for noglob pathspecLibravatar Nguyễn Thái Ngọc Duy1-1/+1
2013-07-15tree-diff: remove the use of pathspec's raw[] in follow-rename codepathLibravatar Nguyễn Thái Ngọc Duy1-2/+2
2013-07-15remove init_pathspec() in favor of parse_pathspec()Libravatar Nguyễn Thái Ngọc Duy1-5/+5
2013-07-15remove diff_tree_{setup,release}_pathsLibravatar Nguyễn Thái Ngọc Duy1-14/+4