summaryrefslogtreecommitdiff
path: root/grep.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'en/header-split-cache-h-part-2'Junio C Hamano2023-05-091-0/+1
|\
| * commit.h: reduce unnecessary includesElijah Newren2023-04-241-0/+1
* | Merge branch 'en/header-split-cache-h'Junio C Hamano2023-04-251-0/+1
|\ \ | |/
| * treewide: remove double forward declaration of read_in_fullElijah Newren2023-04-111-0/+1
* | Merge branch 'en/header-split-cleanup'Junio C Hamano2023-04-061-1/+2
|\ \ | |/
| * treewide: remove unnecessary cache.h inclusion from several sourcesElijah Newren2023-03-211-1/+1
| * treewide: be explicit about dependence on gettext.hElijah Newren2023-03-211-0/+1
* | Merge branch 'mk/workaround-pcre-jit-ucp-bug'Junio C Hamano2023-03-301-0/+9
|\ \ | |/ |/|
| * grep: work around UTF-8 related JIT bug in PCRE2 <= 10.34Mathias Krause2023-03-231-0/+9
* | cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren2023-02-231-0/+1
* | Merge branch 'ab/various-leak-fixes'Junio C Hamano2023-02-221-5/+10
|\ \
| * | grep API: plug memory leaks by freeing "header_list"Ævar Arnfjörð Bjarmason2023-02-061-0/+1
| * | grep.c: refactor free_grep_patterns()Ævar Arnfjörð Bjarmason2023-02-061-5/+9
| |/
* | Merge branch 'cb/grep-fallback-failing-jit'Junio C Hamano2023-02-151-2/+48
|\ \ | |/ |/|
| * grep: fall back to interpreter if JIT memory allocation failsMathias Krause2023-01-311-2/+48
* | grep: correctly identify utf-8 characters with \{b,w} in -PCarlo Marcelo Arenas Belón2023-01-181-1/+1
|/
* Merge branch 'ab/grep-simplify-extended-expression'Junio C Hamano2022-10-211-8/+7
|\
| * grep.c: remove "extended" in favor of "pattern_expression", fix segfaultÆvar Arnfjörð Bjarmason2022-10-111-8/+7
* | grep: add --max-count command line optionCarlos López2022-06-221-1/+1
|/
* Merge branch 'rs/pcre-invalid-utf8-fix-fix'Junio C Hamano2022-02-251-1/+1
|\
| * grep: fix triggering PCRE2_NO_START_OPTIMIZE workaroundRené Scharfe2022-02-171-1/+1
* | Merge branch 'ab/grep-patterntype'Junio C Hamano2022-02-251-99/+14
|\ \
| * | grep: simplify config parsing and option parsingÆvar Arnfjörð Bjarmason2022-02-151-60/+9
| * | grep.c: do "if (bool && memchr())" not "if (memchr() && bool)"Ævar Arnfjörð Bjarmason2022-02-151-1/+2
| * | grep API: call grep_config() after grep_init()Ævar Arnfjörð Bjarmason2022-02-151-36/+3
| * | built-ins: trust the "prefix" from run_builtin()Ævar Arnfjörð Bjarmason2022-02-151-3/+1
* | | Merge branch 'rs/grep-expr-cleanup'Junio C Hamano2022-02-051-34/+36
|\ \ \ | |/ / |/| |
| * | grep: use grep_and_expr() in compile_pattern_and()Taylor Blau2022-01-061-6/+7
| * | grep: extract grep_binexp() from grep_or_expr()Taylor Blau2022-01-061-2/+9
| * | grep: use grep_not_expr() in compile_pattern_not()René Scharfe2022-01-061-13/+11
| * | grep: use grep_or_expr() in compile_pattern_or()René Scharfe2022-01-061-15/+11
* | | Merge branch 'lh/use-gnu-color-in-grep'Junio C Hamano2022-01-101-3/+3
|\ \ \ | |/ / |/| |
| * | grep: align default colors with GNU grep onesLénaïc Huard2022-01-051-3/+3
* | | Merge branch 'rs/pcre2-utf'Junio C Hamano2022-01-051-2/+2
|\ \ \
| * | | grep/pcre2: factor out literal variableRené Scharfe2021-12-201-2/+2
| * | | grep/pcre2: use PCRE2_UTF even with ASCII patternsRené Scharfe2021-12-201-1/+1
| |/ /
* | | log: let --invert-grep only invert --grepRené Scharfe2021-12-171-3/+19
|/ /
* | Revert "grep/pcre2: fix an edge case concerning ascii patterns and UTF-8 data"Junio C Hamano2021-11-191-4/+2
* | grep/pcre2: fix an edge case concerning ascii patterns and UTF-8 dataHamza Mahfooz2021-10-151-2/+4
* | grep: refactor next_match() and match_one_pattern() for external useHamza Mahfooz2021-09-291-30/+49
* | grep: store grep_source buffer as constJeff King2021-09-221-3/+6
* | grep: mark "haystack" buffers as constJeff King2021-09-221-26/+35
* | grep: stop modifying buffer in grep_source_1()Jeff King2021-09-221-4/+1
* | grep: stop modifying buffer in show_line()Jeff King2021-09-221-3/+0
* | grep: stop modifying buffer in strip_timestampJeff King2021-09-221-10/+3
* | grep: add repository to OID grep sourcesJonathan Tan2021-09-081-2/+5
* | grep: typesafe versions of grep_source_initJonathan Tan2021-09-081-18/+28
* | Merge branch 'rs/grep-parser-fix'Junio C Hamano2021-07-131-0/+2
|\ \
| * | grep: report missing left operand of --andRené Scharfe2021-06-301-0/+2
* | | hash: provide per-algorithm null OIDsbrian m. carlson2021-04-271-1/+1