63 Commits (6c0f86943e9ebba5aa281772e01559773e0c1234)

Author SHA1 Message Date
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
Shawn Pearce 9befac470b Replace uses of strdup with xstrdup. 19 years ago
Junio C Hamano 599f8d6314 builtin-grep.c: remove unused debugging piece. 19 years ago
Junio C Hamano 6493cc09c2 builtin-grep: remove unused debugging cruft. 19 years ago
David Rientjes b756776d19 builtin-grep.c cleanup 19 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
Linus Torvalds f66475199c Fix silly typo in new builtin grep 19 years ago
Junio C Hamano ffa0a7ab36 builtin-grep: unparse more command line options. 19 years ago
Linus Torvalds 1e2398d7fa builtin-grep: use external grep when we can take advantage of it 19 years ago
Junio C Hamano 07ea91d84f builtin-grep: -F (--fixed-strings) 19 years ago
Junio C Hamano 02ab1c490d builtin-grep: -w fix 19 years ago
Junio C Hamano c39c4f4746 builtin-grep: typofix 19 years ago