97 Commits (cfe370c6476392095bc3f18013d195b1cccd6184)

Author SHA1 Message Date
Matt Kraai cfe370c647 grep: do not segfault when -f is used 15 years ago
Clemens Buchacher 493b7a08d8 grep: accept relative paths outside current working directory 16 years ago
Clemens Buchacher 929e37d3df grep: fix exit status if external_grep() punts 16 years ago
René Scharfe ed24e401e0 grep: simplify -p output 16 years ago
René Scharfe 60ecac98ed grep -p: support user defined regular expressions 16 years ago
René Scharfe 2944e4e614 grep: add option -p/--show-function 16 years ago
René Scharfe 046802d015 grep: print context hunk marks between files 16 years ago
Thomas Rast d824cbba02 Convert existing die(..., strerror(errno)) to die_errno() 16 years ago
Stephen Boyd 3778292017 parse-opts: prepare for OPT_FILENAME 16 years ago
René Scharfe ff3c7f9a26 grep: make callback functions static 16 years ago
René Scharfe 3e230fa1b2 grep: use parseopt 16 years ago
René Scharfe 1b5fb44ad1 grep: remove global variable builtin_grep 16 years ago
Markus Heidelberg fe3420b616 grep: don't support "grep.color"-like config options 16 years ago
Nguyễn Thái Ngọc Duy 6e89ec0f1e grep: prefer builtin over external one when coloring results 16 years ago
René Scharfe a94982ef39 grep: add support for coloring with external greps 16 years ago
René Scharfe 7e8f59d577 grep: color patterns in output 16 years ago
Junio C Hamano bc395643b6 grep: pass -I (ignore binary) down to external grep 16 years ago
Nguyễn Thái Ngọc Duy 57d43466fb grep: grep cache entries if they are "assume unchanged" 16 years ago
Nguyễn Thái Ngọc Duy e70b9a8bd2 grep: support --no-ext-grep to test builtin grep 16 years ago
Raphael Zimmerer 83caecca2f git grep: Add "-z/--null" option as in GNU's grep. 16 years ago
Junio C Hamano 7e44c93558 'git foo' program identifies itself without dash in die() messages 17 years ago
Nguyễn Thái Ngọc Duy 6577f542b3 grep: fix worktree setup 17 years ago
Jonathan Nieder 2d9c572578 fix usage string for git grep 17 years ago
Dmitry Potapov 620e2bb937 Fix buffer overflow in git-grep 17 years ago
Stephan Beyer 1b1dd23f2d Make usage strings dash-less 17 years ago
Jeff King 5f7c643afe add NO_EXTERNAL_GREP build option 17 years ago
Shawn O. Pearce 2cd5dfd240 Teach git-grep --name-only as synonym for -l 17 years ago
Linus Torvalds 7a51ed66f6 Make on-disk index representation separate from in-core one 17 years ago
Jim Meyering 872c930dcb Don't access line[-1] for a zero-length "line" from fgets. 17 years ago
Junio C Hamano 6326cee51b git grep shows the same hit repeatedly for unmerged paths 17 years ago
Junio C Hamano 4b87474bc9 grep -An -Bm: fix invocation of external grep command 17 years ago
Junio C Hamano b67a43bb8f grep with unmerged index 17 years ago
Junio C Hamano d99ebf0817 Split grep arguments in a way that does not requires to add /dev/null. 18 years ago
Jim Meyering 61d6ed139f sscanf/strtoul: parse integers robustly 18 years ago
Jim Meyering 6aead43db3 sscanf/strtoul: parse integers robustly 18 years ago
Linus Torvalds 6fda5e5180 Initialize tree descriptors with a helper function rather than by hand. 18 years ago
Linus Torvalds a8c40471ab Remove "pathlen" from "struct name_entry" 18 years ago
Jim Meyering 09f2825147 git-grep: don't use sscanf 18 years ago
Shawn O. Pearce dc49cd769b Cast 64 bit off_t to 32 bit size_t 18 years ago
Shawn O. Pearce ff1f99453f Don't build external_grep if its not used 18 years ago
Nicolas Pitre 21666f1aae convert object type handling from a string to a number 18 years ago
Junio C Hamano 599065a3bb prefixcmp(): fix-up mechanical conversion. 18 years ago
Junio C Hamano cc44c7655f Mechanical conversion to use prefixcmp() 18 years ago
Andy Whitcroft 93d26e4cb9 short i/o: fix calls to read to use xread or read_in_full 18 years ago
Junio C Hamano 85023577a8 simplify inclusion of system header files. 18 years ago
Junio C Hamano 36f2587ffb grep: do not skip unmerged entries when grepping in the working tree. 18 years ago
Junio C Hamano 0ab7befa31 grep --all-match 19 years ago
Junio C Hamano b48fb5b6a9 grep: free expressions and patterns when done. 19 years ago
Junio C Hamano 83b5d2f5b0 builtin-grep: make pieces of it available as library. 19 years ago
Linus Torvalds 7977f0ea53 Add "-h/-H" parsing to "git grep" 19 years ago