summaryrefslogtreecommitdiff
path: root/grep.c
AgeCommit message (Expand)Author
10 daysgrep: correctly identify utf-8 characters with \{b,w} in -PCarlo Marcelo Arenas Belón
2022-10-21Merge branch 'ab/grep-simplify-extended-expression'Junio C Hamano
2022-10-11grep.c: remove "extended" in favor of "pattern_expression", fix segfaultÆvar Arnfjörð Bjarmason
2022-06-22grep: add --max-count command line optionCarlos López
2022-02-25Merge branch 'rs/pcre-invalid-utf8-fix-fix'Junio C Hamano
2022-02-25Merge branch 'ab/grep-patterntype'Junio C Hamano
2022-02-17grep: fix triggering PCRE2_NO_START_OPTIMIZE workaroundRené Scharfe
2022-02-16grep: simplify config parsing and option parsingÆvar Arnfjörð Bjarmason
2022-02-16grep.c: do "if (bool && memchr())" not "if (memchr() && bool)"Ævar Arnfjörð Bjarmason
2022-02-16grep API: call grep_config() after grep_init()Ævar Arnfjörð Bjarmason
2022-02-16built-ins: trust the "prefix" from run_builtin()Ævar Arnfjörð Bjarmason
2022-02-05Merge branch 'rs/grep-expr-cleanup'Junio C Hamano
2022-01-10Merge branch 'lh/use-gnu-color-in-grep'Junio C Hamano
2022-01-06grep: use grep_and_expr() in compile_pattern_and()Taylor Blau
2022-01-06grep: extract grep_binexp() from grep_or_expr()Taylor Blau
2022-01-06grep: use grep_not_expr() in compile_pattern_not()René Scharfe
2022-01-06grep: use grep_or_expr() in compile_pattern_or()René Scharfe
2022-01-05Merge branch 'rs/pcre2-utf'Junio C Hamano
2022-01-05grep: align default colors with GNU grep onesLénaïc Huard
2021-12-20grep/pcre2: factor out literal variableRené Scharfe
2021-12-20grep/pcre2: use PCRE2_UTF even with ASCII patternsRené Scharfe
2021-12-17log: let --invert-grep only invert --grepRené Scharfe
2021-11-19Revert "grep/pcre2: fix an edge case concerning ascii patterns and UTF-8 data"Junio C Hamano
2021-10-15grep/pcre2: fix an edge case concerning ascii patterns and UTF-8 dataHamza Mahfooz
2021-09-29grep: refactor next_match() and match_one_pattern() for external useHamza Mahfooz
2021-09-22grep: store grep_source buffer as constJeff King
2021-09-22grep: mark "haystack" buffers as constJeff King
2021-09-22grep: stop modifying buffer in grep_source_1()Jeff King
2021-09-22grep: stop modifying buffer in show_line()Jeff King
2021-09-22grep: stop modifying buffer in strip_timestampJeff King
2021-09-08grep: add repository to OID grep sourcesJonathan Tan
2021-09-08grep: typesafe versions of grep_source_initJonathan Tan
2021-07-13Merge branch 'rs/grep-parser-fix'Junio C Hamano
2021-06-30grep: report missing left operand of --andRené Scharfe
2021-04-27hash: provide per-algorithm null OIDsbrian m. carlson
2021-03-22Merge branch 'ab/grep-pcre2-allocfix'Junio C Hamano
2021-03-14use CALLOC_ARRAYRené Scharfe
2021-02-18grep/pcre2: move definitions of pcre2_{malloc,free}Ævar Arnfjörð Bjarmason
2021-02-18grep/pcre2: move back to thread-only PCREv2 structuresÆvar Arnfjörð Bjarmason
2021-02-18grep/pcre2: actually make pcre2 use custom allocatorÆvar Arnfjörð Bjarmason
2021-02-18grep/pcre2: use pcre2_maketables_free() functionÆvar Arnfjörð Bjarmason
2021-02-18grep/pcre2: use compile-time PCREv2 version testÆvar Arnfjörð Bjarmason
2021-02-18grep/pcre2: add GREP_PCRE2_DEBUG_MALLOC debug modeÆvar Arnfjörð Bjarmason
2021-02-18grep/pcre2: prepare to add debugging to pcre2_malloc()Ævar Arnfjörð Bjarmason
2021-02-18grep/pcre2: correct reference to grep_init() in commentÆvar Arnfjörð Bjarmason
2021-02-18grep/pcre2: drop needless assignment to NULLÆvar Arnfjörð Bjarmason
2021-02-18grep/pcre2: drop needless assignment + assert() on opt->pcre2Ævar Arnfjörð Bjarmason
2021-02-10Merge branch 'ab/grep-pcre-invalid-utf8'Junio C Hamano
2021-02-10Merge branch 'ab/retire-pcre1'Junio C Hamano
2021-01-26grep/log: remove hidden --debug and --grep-debug optionsÆvar Arnfjörð Bjarmason