98 Commits (68a423ab3e5c160e1162382d2ef0831039b298d4)

Author SHA1 Message Date
Æ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
Jeff King dd98d88be7 use custom rename score during --follow 13 years ago
Nguyễn Thái Ngọc Duy d688cf07b1 tree_entry_interesting(): give meaningful names to return values 13 years ago
Nguyễn Thái Ngọc Duy 0de1633783 tree-walk.c: do not leak internal structure in tree_entry_len() 13 years ago
Junio C Hamano 28b9264dd6 diff: futureproof "stop feeding the backend early" logic 14 years ago
Jeff King af7b41c923 diff_tree: disable QUICK optimization with diff filter 14 years ago
Nguyễn Thái Ngọc Duy 97d0b74a49 Improve tree_entry_interesting() handling code 14 years ago
Johannes Schindelin c0aa335c95 Remove unused variables 14 years ago
Nguyễn Thái Ngọc Duy 1376e50723 grep: drop pathspec_matches() in favor of tree_entry_interesting() 14 years ago
Nguyễn Thái Ngọc Duy bc96cc87db tree_entry_interesting(): support depth limit 14 years ago