109 Commits (b4583d55956544f936ba35893374e49a184bd7c9)

Author SHA1 Message Date
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()" 7 years ago
Ævar Arnfjörð Bjarmason ce528de023 refactor various if (x) FREE_AND_NULL(x) to just FREE_AND_NULL(x) 7 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 8 years ago
René Scharfe fb04dced9c tree-diff: don't access hash of NULL object_id pointer 8 years ago
Ævar Arnfjörð Bjarmason 6a83d90207 coccinelle: make use of the "type" FREE_AND_NULL() rule 8 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
Kirill Smelkov e906612121 tree-diff: no need to pass match to skip_uninteresting() 11 years ago
Kirill Smelkov e197c2b650 tree-diff: no need to manually verify that there is no mode change for a path 11 years ago
Kirill Smelkov 0b707c3319 tree-diff: convert diff_root_tree_sha1() to just call diff_tree_sha1 with old=NULL 11 years ago
Kirill Smelkov 791303284c tree-diff: allow diff_tree_sha1 to accept NULL sha1 11 years ago
Nguyễn Thái Ngọc Duy 4a2d5ae262 pathspec: stop --*-pathspecs impact on internal parse_pathspec() uses 11 years ago
Nguyễn Thái Ngọc Duy 5c6933d201 pathspec: support :(literal) syntax for noglob pathspec 12 years ago
Nguyễn Thái Ngọc Duy 61588ccf78 tree-diff: remove the use of pathspec's raw[] in follow-rename codepath 12 years ago
Nguyễn Thái Ngọc Duy 9a08727443 remove init_pathspec() in favor of parse_pathspec() 12 years ago
Nguyễn Thái Ngọc Duy bd1928df1d remove diff_tree_{setup,release}_paths 12 years ago
Nguyễn Thái Ngọc Duy 8f4f8f4579 guard against new pathspec magic in pathspec matching code 12 years ago
Nguyễn Thái Ngọc Duy 6330a17199 parse_pathspec: add special flag for max_depth feature 12 years ago
Thomas Rast 28452655af diff_setup_done(): return void 13 years ago
Jeff King e54501004a diff: do not use null sha1 as a sentinel value 13 years ago