71 Commits (373a273309433d66d56505f0a125434c57fa508d)

Author SHA1 Message Date
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. 17 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 18 years ago
Junio C Hamano b48fb5b6a9 grep: free expressions and patterns when done. 18 years ago
Junio C Hamano 83b5d2f5b0 builtin-grep: make pieces of it available as library. 18 years ago
Linus Torvalds 7977f0ea53 Add "-h/-H" parsing to "git grep" 18 years ago
Shawn Pearce 9befac470b Replace uses of strdup with xstrdup. 18 years ago
Junio C Hamano 599f8d6314 builtin-grep.c: remove unused debugging piece. 18 years ago
Junio C Hamano 6493cc09c2 builtin-grep: remove unused debugging cruft. 18 years ago
David Rientjes b756776d19 builtin-grep.c cleanup 18 years ago
Junio C Hamano 0d042fecf2 git-grep: show pathnames relative to the current directory 19 years ago
Junio C Hamano f25b79397c Fix "grep -w" 19 years ago
Linus Torvalds a633fca0c0 Call setup_git_directory() much earlier 19 years ago
Linus Torvalds 1974632c66 Remove TYPE_* constant macros and use object_type enums consistently. 19 years ago
Pavel Roskin 82e5a82fd7 Fix more typos, primarily in the code 19 years ago
Junio C Hamano 79d3696cfb git-grep: boolean expression on pattern matching. 19 years ago
Junio C Hamano 088b084bbb git-grep: use a bit more specific error messages. 19 years ago
Junio C Hamano fcfe34b5ac git-grep: fix exit code when we use external grep. 19 years ago
Junio C Hamano 5390590f6d git-grep: fix parsing of pathspec separator '--' 19 years ago
Uwe Zeisberger bb9e15a83c Fix possible out-of-bounds array access 19 years ago
Linus Torvalds 1f1e895fcc Add "named object array" concept 19 years ago
Linus Torvalds 885a86abe2 Shrink "struct object" a bit 19 years ago
Robert Fitzsimons 3026402cbc builtin-grep: pass ignore case option to external grep 19 years ago
Linus Torvalds 4c068a9831 tree_entry(): new tree-walking helper function 19 years ago
Alex Riesen fbd01abf50 remove superflous "const" 19 years ago
Linus Torvalds bbb66c6061 builtin-grep: workaround for non GNU grep. 19 years ago
Junio C Hamano e78503db16 Revert "builtin-grep: workaround for non GNU grep." 19 years ago
Junio C Hamano 518920b764 builtin-grep: workaround for non GNU grep. 19 years ago