summaryrefslogtreecommitdiff
path: root/tree-diff.c
Commit message (Expand)AuthorAgeFilesLines
* diff.h: reduce unnecessary includesElijah Newren2023-04-241-0/+1
* treewide: remove cache.h inclusion due to previous changesElijah Newren2023-04-241-1/+1
* tree-diff.c: move S_DIFFTREE_IFXMIN_NEQ define from cache.hElijah Newren2023-04-241-0/+13
* pathspec: use BUG(...) not die("BUG:%s:%d....", <file>, <line>)Ævar Arnfjörð Bjarmason2021-12-071-2/+1
* tree-diff: fix leak when not HAVE_ALLOCA_HCarlo Marcelo Arenas Belón2021-09-161-1/+3
* hash: provide per-algorithm null OIDsbrian m. carlson2021-04-271-2/+2
* bloom/diff: properly short-circuit on max_changesDerrick Stolee2020-09-171-4/+1
* diff.h: drop diff_tree_oid() & friends' return valueSZEDER Gábor2020-06-081-16/+14
* diff: halt tree-diff early after max_changesDerrick Stolee2020-03-301-0/+6
* 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