Commit Graph

116 Commits (de6dda0dc3d95cd9aaf43a7b85ceeb57316dcc27)

Author SHA1 Message Date
SZEDER Gábor 0ee3cb888d diff.h: drop diff_tree_oid() & friends' return value 3 years ago
Derrick Stolee e369698016 diff: halt tree-diff early after max_changes 3 years ago
Nguyễn Thái Ngọc Duy 5e57580733 tree-walk.c: remove the_repo from fill_tree_descriptor() 3 years ago
Elijah Newren 5ec1e72823 Use 'unsigned short' for mode, like diff_filespec does 4 years ago
brian m. carlson ea82b2a085 tree-walk: store object_id in a separate member 4 years ago
Nguyễn Thái Ngọc Duy 67022e0214 tree-walk.c: make tree_entry_interesting() take an index 4 years ago
Nguyễn Thái Ngọc Duy dcf42869ee tree-diff.c: remove implicit dependency on the_index 4 years ago
Nguyễn Thái Ngọc Duy e675765235 diff.c: remove implicit dependency on the_index 4 years ago
Jeff King 9001dc2a74 convert "oidcmp() != 0" to "!oideq()" 4 years ago
Ævar Arnfjörð Bjarmason ce528de023 refactor various if (x) FREE_AND_NULL(x) to just FREE_AND_NULL(x) 4 years ago
Brandon Williams 0d1e0e7801 diff: make struct diff_flags members lowercase 5 years ago
Brandon Williams 23dcf77f48 diff: remove DIFF_OPT_SET macro 5 years ago
Brandon Williams 3b69daed86 diff: remove DIFF_OPT_TST macro 5 years ago
René Scharfe 5c377d3d59 tree-walk: convert fill_tree_descriptor() to object_id 5 years ago
René Scharfe fb04dced9c tree-diff: don't access hash of NULL object_id pointer 5 years ago
Ævar Arnfjörð Bjarmason 6a83d90207 coccinelle: make use of the "type" FREE_AND_NULL() rule 6 years ago
Brandon Williams 0e72462fb4 tree-diff: convert path_appendnew to object_id 6 years ago
Brandon Williams fda94b416e tree-diff: convert diff_tree_paths to struct object_id 6 years ago
Brandon Williams 128be8767d tree-diff: convert try_to_follow_renames to struct object_id 6 years ago
Brandon Williams 66f414f885 diff-tree: convert diff_tree_sha1 to struct object_id 6 years ago
Brandon Williams 7b8dea0c75 tree-diff: convert diff_root_tree_sha1 to struct object_id 6 years ago
Brandon Williams 94a0097a41 diff: convert diff_change to struct object_id 6 years ago
Brandon Williams c26022ea8f diff: convert diff_addremove to struct object_id 6 years ago
Jeff King b8ba412bf7 tree-diff: avoid alloca for large allocations 7 years ago
Junio C Hamano ed6e8038f9 pathspec: rename free_pathspec() to clear_pathspec() 7 years ago
brian m. carlson ce6663a9da tree-walk: convert tree_entry_extract() to use struct object_id 7 years ago
brian m. carlson 7d924c9139 struct name_entry: use struct object_id instead of unsigned char sha1[20] 7 years ago
Jeff King d770187872 tree-diff: catch integer overflow in combine_diff_path allocation 7 years ago
Jeff King 5b442c4f27 tree-diff: catch integer overflow in combine_diff_path allocation 7 years ago
brian m. carlson 1ff57c13c5 diff: convert struct combine_diff_path to object_id 8 years ago
Kirill Smelkov 72441af7c4 tree-diff: rework diff_tree() to generate diffs for multiparent cases as well 9 years ago
Kirill Smelkov 12cd81743d tree-diff: reuse base str(buf) memory on sub-tree recursion 9 years ago
Kirill Smelkov b9081a6574 tree-diff: no need to call "full" diff_tree_sha1 from show_path() 9 years ago
Kirill Smelkov 52894e7095 tree-diff: rework diff_tree interface to be sha1 based 9 years ago
Kirill Smelkov ad6f3cc7d2 tree-diff: diff_tree() should now be static 9 years ago
Kirill Smelkov 6ca844e9f5 tree-diff: remove special-case diff-emitting code for empty-tree cases 9 years ago
Kirill Smelkov 1a27a15452 tree-diff: simplify tree_entry_pathcmp 9 years ago
Kirill Smelkov 5acabd84a6 tree-diff: show_path prototype is not needed anymore 9 years ago
Kirill Smelkov 9bc0619655 tree-diff: rename compare_tree_entry -> tree_entry_pathcmp 9 years ago
Kirill Smelkov 903bba68ab tree-diff: move all action-taking code out of compare_tree_entry() 9 years ago
Kirill Smelkov 5dfb2bbd8d tree-diff: don't assume compare_tree_entry() returns -1,0,1 9 years ago
Kirill Smelkov d00e980c22 tree-diff: consolidate code for emitting diffs and recursion in one place 9 years ago
Kirill Smelkov 7e9003c149 tree-diff: show_tree() is not needed 9 years ago
Kirill Smelkov e906612121 tree-diff: no need to pass match to skip_uninteresting() 9 years ago
Kirill Smelkov e197c2b650 tree-diff: no need to manually verify that there is no mode change for a path 9 years ago
Kirill Smelkov 0b707c3319 tree-diff: convert diff_root_tree_sha1() to just call diff_tree_sha1 with old=NULL 9 years ago
Kirill Smelkov 791303284c tree-diff: allow diff_tree_sha1 to accept NULL sha1 9 years ago
Nguyễn Thái Ngọc Duy 4a2d5ae262 pathspec: stop --*-pathspecs impact on internal parse_pathspec() uses 9 years ago
Nguyễn Thái Ngọc Duy 5c6933d201 pathspec: support :(literal) syntax for noglob pathspec 10 years ago
Nguyễn Thái Ngọc Duy 61588ccf78 tree-diff: remove the use of pathspec's raw[] in follow-rename codepath 10 years ago