81 Commits (563d4e59bd167fe2eecc5480e3841d878b1c8c2b)

Author SHA1 Message Date
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
Nguyễn Thái Ngọc Duy 48932677d6 diff-tree: convert base+baselen to writable strbuf 14 years ago
Nguyễn Thái Ngọc Duy 2c389fc8ec Move tree_entry_interesting() to tree-walk.c and export it 14 years ago
Nguyễn Thái Ngọc Duy 475005a117 tree_entry_interesting(): remove dependency on struct diff_options 14 years ago
Nguyễn Thái Ngọc Duy 66f136252f Convert struct diff_options to use struct pathspec 14 years ago
Elijah Newren 7e1ec0d415 diff_tree(): Skip skip_uninteresting() when all remaining paths interesting 15 years ago
Elijah Newren 4a5e74feb1 tree_entry_interesting(): Make return value more specific 15 years ago
Elijah Newren b6b987a094 Document pre-condition for tree_entry_interesting 15 years ago
Junio C Hamano 44c48a909a diff --follow: do call diffcore_std() as necessary 15 years ago
Junio C Hamano 39f75d26e2 diff --follow: do not waste cycles while recursing 15 years ago
Bo Yang 0cdca133ec Make git log --follow find copies among unmodified files. 15 years ago
Jens Lehmann e3d42c4773 Performance optimization for detection of modified submodules 15 years ago
Junio C Hamano 90b1994170 diff: Rename QUIET internal option to QUICK 16 years ago
Junio C Hamano f245194f9a diff: change semantics of "ignore whitespace" options 16 years ago
Nick Edelen df533f34a3 diff-tree -r -t: include added/removed directories in the output 16 years ago
Mike Ralphson 3ea3c215c0 Fix typos / spelling in comments 16 years ago