123 Commits (master)

Author SHA1 Message Date
Elijah Newren 0e312eaa12 diff.h: reduce unnecessary includes 2 years ago
Elijah Newren 5e3f94dfe3 treewide: remove cache.h inclusion due to previous changes 2 years ago
Elijah Newren 23a517e415 tree-diff.c: move S_DIFFTREE_IFXMIN_NEQ define from cache.h 2 years ago
Ævar Arnfjörð Bjarmason a78537a0f2 pathspec: use BUG(...) not die("BUG:%s:%d....", <file>, <line>) 3 years ago
Carlo Marcelo Arenas Belón 637799bf0a tree-diff: fix leak when not HAVE_ALLOCA_H 3 years ago
brian m. carlson 14228447c9 hash: provide per-algorithm null OIDs 4 years ago
Derrick Stolee b16a827764 bloom/diff: properly short-circuit on max_changes 4 years ago
SZEDER Gábor 0ee3cb888d diff.h: drop diff_tree_oid() & friends' return value 4 years ago
Derrick Stolee e369698016 diff: halt tree-diff early after max_changes 5 years ago
Nguyễn Thái Ngọc Duy 5e57580733 tree-walk.c: remove the_repo from fill_tree_descriptor() 5 years ago
Elijah Newren 5ec1e72823 Use 'unsigned short' for mode, like diff_filespec does 6 years ago
brian m. carlson ea82b2a085 tree-walk: store object_id in a separate member 6 years ago
Nguyễn Thái Ngọc Duy 67022e0214 tree-walk.c: make tree_entry_interesting() take an index 6 years ago
Nguyễn Thái Ngọc Duy dcf42869ee tree-diff.c: remove implicit dependency on the_index 6 years ago
Nguyễn Thái Ngọc Duy e675765235 diff.c: remove implicit dependency on the_index 6 years ago
Jeff King 9001dc2a74 convert "oidcmp() != 0" to "!oideq()" 6 years ago
Ævar Arnfjörð Bjarmason ce528de023 refactor various if (x) FREE_AND_NULL(x) to just FREE_AND_NULL(x) 6 years ago
Brandon Williams 0d1e0e7801 diff: make struct diff_flags members lowercase 7 years ago
Brandon Williams 23dcf77f48 diff: remove DIFF_OPT_SET macro 7 years ago
Brandon Williams 3b69daed86 diff: remove DIFF_OPT_TST macro 7 years ago
René Scharfe 5c377d3d59 tree-walk: convert fill_tree_descriptor() to object_id 7 years ago
René Scharfe fb04dced9c tree-diff: don't access hash of NULL object_id pointer 7 years ago
Ævar Arnfjörð Bjarmason 6a83d90207 coccinelle: make use of the "type" FREE_AND_NULL() rule 7 years ago
Brandon Williams 0e72462fb4 tree-diff: convert path_appendnew to object_id 8 years ago
Brandon Williams fda94b416e tree-diff: convert diff_tree_paths to struct object_id 8 years ago
Brandon Williams 128be8767d tree-diff: convert try_to_follow_renames to struct object_id 8 years ago
Brandon Williams 66f414f885 diff-tree: convert diff_tree_sha1 to struct object_id 8 years ago
Brandon Williams 7b8dea0c75 tree-diff: convert diff_root_tree_sha1 to struct object_id 8 years ago
Brandon Williams 94a0097a41 diff: convert diff_change to struct object_id 8 years ago
Brandon Williams c26022ea8f diff: convert diff_addremove to struct object_id 8 years ago
Jeff King b8ba412bf7 tree-diff: avoid alloca for large allocations 9 years ago
Junio C Hamano ed6e8038f9 pathspec: rename free_pathspec() to clear_pathspec() 9 years ago
brian m. carlson ce6663a9da tree-walk: convert tree_entry_extract() to use struct object_id 9 years ago
brian m. carlson 7d924c9139 struct name_entry: use struct object_id instead of unsigned char sha1[20] 9 years ago
Jeff King d770187872 tree-diff: catch integer overflow in combine_diff_path allocation 9 years ago
Jeff King 5b442c4f27 tree-diff: catch integer overflow in combine_diff_path allocation 9 years ago
brian m. carlson 1ff57c13c5 diff: convert struct combine_diff_path to object_id 10 years ago
Kirill Smelkov 72441af7c4 tree-diff: rework diff_tree() to generate diffs for multiparent cases as well 11 years ago
Kirill Smelkov 12cd81743d tree-diff: reuse base str(buf) memory on sub-tree recursion 11 years ago
Kirill Smelkov b9081a6574 tree-diff: no need to call "full" diff_tree_sha1 from show_path() 11 years ago
Kirill Smelkov 52894e7095 tree-diff: rework diff_tree interface to be sha1 based 11 years ago
Kirill Smelkov ad6f3cc7d2 tree-diff: diff_tree() should now be static 11 years ago
Kirill Smelkov 6ca844e9f5 tree-diff: remove special-case diff-emitting code for empty-tree cases 11 years ago
Kirill Smelkov 1a27a15452 tree-diff: simplify tree_entry_pathcmp 11 years ago
Kirill Smelkov 5acabd84a6 tree-diff: show_path prototype is not needed anymore 11 years ago
Kirill Smelkov 9bc0619655 tree-diff: rename compare_tree_entry -> tree_entry_pathcmp 11 years ago
Kirill Smelkov 903bba68ab tree-diff: move all action-taking code out of compare_tree_entry() 11 years ago
Kirill Smelkov 5dfb2bbd8d tree-diff: don't assume compare_tree_entry() returns -1,0,1 11 years ago
Kirill Smelkov d00e980c22 tree-diff: consolidate code for emitting diffs and recursion in one place 11 years ago
Kirill Smelkov 7e9003c149 tree-diff: show_tree() is not needed 11 years ago