summaryrefslogtreecommitdiff
path: root/tree-diff.c
Commit message (Expand)AuthorAgeFilesLines
* tree-walk.c: remove the_repo from fill_tree_descriptor()Nguyễn Thái Ngọc Duy2019-06-271-2/+2
* Use 'unsigned short' for mode, like diff_filespec doesElijah Newren2019-04-081-1/+1
* Merge branch 'bc/tree-walk-oid'Junio C Hamano2019-01-291-3/+3
|\
| * tree-walk: store object_id in a separate memberbrian m. carlson2019-01-151-3/+3
* | tree-walk.c: make tree_entry_interesting() take an indexNguyễn Thái Ngọc Duy2018-11-191-1/+2
|/
* Merge branch 'nd/the-index'Junio C Hamano2018-10-191-1/+1
|\
| * tree-diff.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy2018-09-211-1/+1
| * diff.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy2018-09-211-1/+1
* | convert "oidcmp() != 0" to "!oideq()"Jeff King2018-08-291-1/+1
|/
* refactor various if (x) FREE_AND_NULL(x) to just FREE_AND_NULL(x)Ævar Arnfjörð Bjarmason2018-08-171-3/+1
* diff: make struct diff_flags members lowercasebw/diff-opt-impl-to-bitfieldsBrandon Williams2017-11-011-8/+8
* diff: remove DIFF_OPT_SET macroBrandon Williams2017-11-011-2/+2
* diff: remove DIFF_OPT_TST macroBrandon Williams2017-11-011-6/+6
* tree-walk: convert fill_tree_descriptor() to object_idrs/object-idRené Scharfe2017-08-141-3/+2
* Merge branch 'bw/object-id'Junio C Hamano2017-08-111-2/+3
|\
| * tree-diff: don't access hash of NULL object_id pointerRené Scharfe2017-07-171-2/+3
* | Merge branch 'ab/free-and-null'Junio C Hamano2017-06-241-4/+2
|\ \ | |/ |/|
| * coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason2017-06-161-4/+2
* | tree-diff: convert path_appendnew to object_idBrandon Williams2017-06-051-3/+3
* | tree-diff: convert diff_tree_paths to struct object_idBrandon Williams2017-06-051-31/+32
* | tree-diff: convert try_to_follow_renames to struct object_idBrandon Williams2017-06-051-3/+5
* | diff-tree: convert diff_tree_sha1 to struct object_idBrandon Williams2017-06-051-5/+7
* | tree-diff: convert diff_root_tree_sha1 to struct object_idBrandon Williams2017-06-021-2/+2
* | diff: convert diff_change to struct object_idBrandon Williams2017-06-021-1/+1
* | diff: convert diff_addremove to struct object_idBrandon Williams2017-06-021-4/+4
|/
* Merge branch 'jk/avoid-unbounded-alloca'Junio C Hamano2016-06-271-6/+16
|\
| * tree-diff: avoid alloca for large allocationsjk/avoid-unbounded-allocaJeff King2016-06-071-6/+16
| * tree-diff: catch integer overflow in combine_diff_path allocationJeff King2016-03-161-2/+2
* | pathspec: rename free_pathspec() to clear_pathspec()jc/clear-pathspecJunio C Hamano2016-06-021-2/+2
* | tree-walk: convert tree_entry_extract() to use struct object_idbrian m. carlson2016-04-251-1/+1
* | struct name_entry: use struct object_id instead of unsigned char sha1[20]brian m. carlson2016-04-251-3/+3
* | tree-diff: catch integer overflow in combine_diff_path allocationJeff King2016-02-191-2/+2
* | diff: convert struct combine_diff_path to object_idbrian m. carlson2015-03-131-5/+5
|/
* tree-diff: rework diff_tree() to generate diffs for multiparent cases as wellKirill Smelkov2014-04-071-64/+440
* tree-diff: reuse base str(buf) memory on sub-tree recursionKirill Smelkov2014-03-271-19/+19
* tree-diff: no need to call "full" diff_tree_sha1 from show_path()Kirill Smelkov2014-03-271-2/+6
* tree-diff: rework diff_tree interface to be sha1 basedKirill Smelkov2014-03-271-32/+28
* tree-diff: diff_tree() should now be staticKirill Smelkov2014-03-261-2/+2
* tree-diff: remove special-case diff-emitting code for empty-tree casesKirill Smelkov2014-03-261-12/+14
* tree-diff: simplify tree_entry_pathcmpKirill Smelkov2014-03-201-11/+6
* tree-diff: show_path prototype is not needed anymoreKirill Smelkov2014-03-201-3/+0
* tree-diff: rename compare_tree_entry -> tree_entry_pathcmpKirill Smelkov2014-03-201-6/+9
* tree-diff: move all action-taking code out of compare_tree_entry()Kirill Smelkov2014-03-201-16/+12
* tree-diff: don't assume compare_tree_entry() returns -1,0,1Kirill Smelkov2014-03-201-8/+14
* tree-diff: consolidate code for emitting diffs and recursion in one placeKirill Smelkov2014-03-201-30/+82
* tree-diff: show_tree() is not neededKirill Smelkov2014-03-041-32/+3
* tree-diff: no need to pass match to skip_uninteresting()Kirill Smelkov2014-02-241-9/+8
* tree-diff: no need to manually verify that there is no mode change for a pathKirill Smelkov2014-02-241-10/+5
* tree-diff: convert diff_root_tree_sha1() to just call diff_tree_sha1 with old...Kirill Smelkov2014-02-051-14/+1
* tree-diff: allow diff_tree_sha1 to accept NULL sha1Kirill Smelkov2014-02-051-8/+4