index
:
git.git
main
maint
master
next
seen
todo
The core git plumbing
Junio C. Hamano
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
grep.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-03-25
grep: improve errors for unmatched ( and )
Ahelenia Ziemiańska
1
-2
/
+2
2023-12-26
treewide: remove unnecessary includes in source files
Elijah Newren
1
-1
/
+0
2023-08-29
grep: mark unused parmaeters in pcre fallbacks
Jeff King
1
-4
/
+6
2023-08-29
grep: mark unused parameter in output function
Jeff King
1
-1
/
+1
2023-07-17
Merge branch 'cw/compat-util-header-cleanup'
Junio C Hamano
1
-1
/
+0
2023-07-06
Merge branch 'gc/config-context'
Junio C Hamano
1
-3
/
+4
2023-07-05
treewide: remove unnecessary includes for wrapper.h
Calvin Wan
1
-1
/
+0
2023-06-28
config: add ctx arg to config_fn_t
Glen Choo
1
-3
/
+4
2023-06-21
object-store-ll.h: split this header out of object-store.h
Elijah Newren
1
-1
/
+1
2023-05-09
Merge branch 'en/header-split-cache-h-part-2'
Junio C Hamano
1
-0
/
+1
2023-04-25
Merge branch 'en/header-split-cache-h'
Junio C Hamano
1
-0
/
+1
2023-04-24
commit.h: reduce unnecessary includes
Elijah Newren
1
-0
/
+1
2023-04-11
treewide: remove double forward declaration of read_in_full
Elijah Newren
1
-0
/
+1
2023-04-06
Merge branch 'en/header-split-cleanup'
Junio C Hamano
1
-1
/
+2
2023-03-30
Merge branch 'mk/workaround-pcre-jit-ucp-bug'
Junio C Hamano
1
-0
/
+9
2023-03-23
grep: work around UTF-8 related JIT bug in PCRE2 <= 10.34
Mathias Krause
1
-0
/
+9
2023-03-21
treewide: remove unnecessary cache.h inclusion from several sources
Elijah Newren
1
-1
/
+1
2023-03-21
treewide: be explicit about dependence on gettext.h
Elijah Newren
1
-0
/
+1
2023-02-23
cache.h: remove dependence on hex.h; make other files include it explicitly
Elijah Newren
1
-0
/
+1
2023-02-22
Merge branch 'ab/various-leak-fixes'
Junio C Hamano
1
-5
/
+10
2023-02-15
Merge branch 'cb/grep-fallback-failing-jit'
Junio C Hamano
1
-2
/
+48
2023-02-06
grep API: plug memory leaks by freeing "header_list"
Ævar Arnfjörð Bjarmason
1
-0
/
+1
2023-02-06
grep.c: refactor free_grep_patterns()
Ævar Arnfjörð Bjarmason
1
-5
/
+9
2023-01-31
grep: fall back to interpreter if JIT memory allocation fails
Mathias Krause
1
-2
/
+48
2023-01-18
grep: correctly identify utf-8 characters with \{b,w} in -P
Carlo Marcelo Arenas Belón
1
-1
/
+1
2022-10-21
Merge branch 'ab/grep-simplify-extended-expression'
Junio C Hamano
1
-8
/
+7
2022-10-11
grep.c: remove "extended" in favor of "pattern_expression", fix segfault
Ævar Arnfjörð Bjarmason
1
-8
/
+7
2022-06-22
grep: add --max-count command line option
Carlos López
1
-1
/
+1
2022-02-25
Merge branch 'rs/pcre-invalid-utf8-fix-fix'
Junio C Hamano
1
-1
/
+1
2022-02-25
Merge branch 'ab/grep-patterntype'
Junio C Hamano
1
-99
/
+14
2022-02-17
grep: fix triggering PCRE2_NO_START_OPTIMIZE workaround
René Scharfe
1
-1
/
+1
2022-02-15
grep: simplify config parsing and option parsing
Ævar Arnfjörð Bjarmason
1
-60
/
+9
2022-02-15
grep.c: do "if (bool && memchr())" not "if (memchr() && bool)"
Ævar Arnfjörð Bjarmason
1
-1
/
+2
2022-02-15
grep API: call grep_config() after grep_init()
Ævar Arnfjörð Bjarmason
1
-36
/
+3
2022-02-15
built-ins: trust the "prefix" from run_builtin()
Ævar Arnfjörð Bjarmason
1
-3
/
+1
2022-02-05
Merge branch 'rs/grep-expr-cleanup'
Junio C Hamano
1
-34
/
+36
2022-01-10
Merge branch 'lh/use-gnu-color-in-grep'
Junio C Hamano
1
-3
/
+3
2022-01-06
grep: use grep_and_expr() in compile_pattern_and()
Taylor Blau
1
-6
/
+7
2022-01-06
grep: extract grep_binexp() from grep_or_expr()
Taylor Blau
1
-2
/
+9
2022-01-06
grep: use grep_not_expr() in compile_pattern_not()
René Scharfe
1
-13
/
+11
2022-01-06
grep: use grep_or_expr() in compile_pattern_or()
René Scharfe
1
-15
/
+11
2022-01-05
Merge branch 'rs/pcre2-utf'
Junio C Hamano
1
-2
/
+2
2022-01-05
grep: align default colors with GNU grep ones
Lénaïc Huard
1
-3
/
+3
2021-12-20
grep/pcre2: factor out literal variable
René Scharfe
1
-2
/
+2
2021-12-20
grep/pcre2: use PCRE2_UTF even with ASCII patterns
René Scharfe
1
-1
/
+1
2021-12-17
log: let --invert-grep only invert --grep
René Scharfe
1
-3
/
+19
2021-11-19
Revert "grep/pcre2: fix an edge case concerning ascii patterns and UTF-8 data"
Junio C Hamano
1
-4
/
+2
2021-10-15
grep/pcre2: fix an edge case concerning ascii patterns and UTF-8 data
Hamza Mahfooz
1
-2
/
+4
2021-09-29
grep: refactor next_match() and match_one_pattern() for external use
Hamza Mahfooz
1
-30
/
+49
2021-09-22
grep: store grep_source buffer as const
Jeff King
1
-3
/
+6
2021-09-22
grep: mark "haystack" buffers as const
Jeff King
1
-26
/
+35
2021-09-22
grep: stop modifying buffer in grep_source_1()
Jeff King
1
-4
/
+1
2021-09-22
grep: stop modifying buffer in show_line()
Jeff King
1
-3
/
+0
2021-09-22
grep: stop modifying buffer in strip_timestamp
Jeff King
1
-10
/
+3
2021-09-08
grep: add repository to OID grep sources
Jonathan Tan
1
-2
/
+5
2021-09-08
grep: typesafe versions of grep_source_init
Jonathan Tan
1
-18
/
+28
2021-07-13
Merge branch 'rs/grep-parser-fix'
Junio C Hamano
1
-0
/
+2
2021-06-30
grep: report missing left operand of --and
René Scharfe
1
-0
/
+2
2021-04-27
hash: provide per-algorithm null OIDs
brian m. carlson
1
-1
/
+1
2021-03-22
Merge branch 'ab/grep-pcre2-allocfix'
Junio C Hamano
1
-56
/
+43
2021-03-13
use CALLOC_ARRAY
René Scharfe
1
-4
/
+4
2021-02-17
grep/pcre2: move definitions of pcre2_{malloc,free}
Ævar Arnfjörð Bjarmason
1
-24
/
+22
2021-02-17
grep/pcre2: move back to thread-only PCREv2 structures
Ævar Arnfjörð Bjarmason
1
-26
/
+15
2021-02-17
grep/pcre2: actually make pcre2 use custom allocator
Ævar Arnfjörð Bjarmason
1
-2
/
+2
2021-02-17
grep/pcre2: use pcre2_maketables_free() function
Ævar Arnfjörð Bjarmason
1
-0
/
+4
2021-02-17
grep/pcre2: use compile-time PCREv2 version test
Ævar Arnfjörð Bjarmason
1
-14
/
+4
2021-02-17
grep/pcre2: add GREP_PCRE2_DEBUG_MALLOC debug mode
Ævar Arnfjörð Bjarmason
1
-0
/
+10
2021-02-17
grep/pcre2: prepare to add debugging to pcre2_malloc()
Ævar Arnfjörð Bjarmason
1
-1
/
+2
2021-02-17
grep/pcre2: correct reference to grep_init() in comment
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2021-02-17
grep/pcre2: drop needless assignment to NULL
Ævar Arnfjörð Bjarmason
1
-2
/
+0
2021-02-17
grep/pcre2: drop needless assignment + assert() on opt->pcre2
Ævar Arnfjörð Bjarmason
1
-3
/
+0
2021-02-10
Merge branch 'ab/grep-pcre-invalid-utf8'
Junio C Hamano
1
-1
/
+17
2021-02-10
Merge branch 'ab/retire-pcre1'
Junio C Hamano
1
-115
/
+2
2021-01-26
grep/log: remove hidden --debug and --grep-debug options
Ævar Arnfjörð Bjarmason
1
-99
/
+2
2021-01-24
grep/pcre2: better support invalid UTF-8 haystacks
Ævar Arnfjörð Bjarmason
1
-1
/
+17
2021-01-23
Remove support for v1 of the PCRE library
Ævar Arnfjörð Bjarmason
1
-117
/
+2
2020-11-30
grep: copy struct in one fell swoop
Martin Ågren
1
-23
/
+10
2020-11-21
grep: use designated initializers for `grep_defaults`
Martin Ågren
1
-39
/
+25
2020-11-21
grep: don't set up a "default" repo for grep
Martin Ågren
1
-2
/
+1
2020-07-29
comment: fix spelling mistakes inside comments
Steve Kemp
1
-1
/
+1
2020-01-17
grep: replace grep_read_mutex by internal obj read lock
Matheus Tavares
1
-20
/
+19
2020-01-17
grep: fix race conditions on userdiff calls
Matheus Tavares
1
-1
/
+6
2019-11-30
grep: don't return an expression from pcre2_free()
Hans Jerry Illikainen
1
-1
/
+1
2019-10-23
Merge branch 'cb/pcre2-chartables-leakfix'
Junio C Hamano
1
-3
/
+44
2019-10-18
grep: avoid leak of chartables in PCRE2
Carlo Marcelo Arenas Belón
1
-3
/
+4
2019-10-18
grep: make PCRE2 aware of custom allocator
Carlo Marcelo Arenas Belón
1
-1
/
+33
2019-10-18
grep: make PCRE1 aware of custom allocator
Carlo Marcelo Arenas Belón
1
-0
/
+8
2019-10-11
Merge branch 'cb/pcre1-cleanup'
Junio C Hamano
1
-6
/
+10
2019-10-11
Merge branch 'ab/pcre-jit-fixes'
Junio C Hamano
1
-108
/
+70
2019-10-06
Merge branch 'cb/skip-utf8-check-with-pcre1'
Junio C Hamano
1
-1
/
+1
2019-09-09
grep: skip UTF8 checks explicitly
Carlo Marcelo Arenas Belón
1
-1
/
+1
2019-08-26
grep: refactor and simplify PCRE1 support
Carlo Marcelo Arenas Belón
1
-6
/
+10
2019-08-19
grep: under --debug, show whether PCRE JIT is enabled
Beat Bolli
1
-0
/
+7
2019-07-29
Merge branch 'bb/grep-pcre2-bug-message-fix'
Junio C Hamano
1
-1
/
+1
2019-07-26
grep: do not enter PCRE2_UTF mode on fixed matching
Ævar Arnfjörð Bjarmason
1
-1
/
+2
2019-07-26
grep: stess test PCRE v2 on invalid UTF-8 data
Ævar Arnfjörð Bjarmason
1
-0
/
+10
2019-07-26
grep: create a "is_fixed" member in "grep_pat"
Ævar Arnfjörð Bjarmason
1
-4
/
+3
2019-07-26
grep: consistently use "p->fixed" in compile_regexp()
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2019-07-26
grep: stop using a custom JIT stack with PCRE v1
Ævar Arnfjörð Bjarmason
1
-23
/
+5
2019-07-26
grep: stop "using" a custom JIT stack with PCRE v2
Ævar Arnfjörð Bjarmason
1
-10
/
+0
2019-07-26
grep: remove overly paranoid BUG(...) code
Ævar Arnfjörð Bjarmason
1
-8
/
+2
2019-07-23
grep: print the pcre2_jit_on value
Beat Bolli
1
-1
/
+1
2019-07-01
grep: use PCRE v2 for optimized fixed-string search
Ævar Arnfjörð Bjarmason
1
-2
/
+49
2019-07-01
grep: remove the kwset optimization
Ævar Arnfjörð Bjarmason
1
-60
/
+3
2019-07-01
grep: drop support for \0 in --fixed-strings <pattern>
Ævar Arnfjörð Bjarmason
1
-3
/
+3
2019-07-01
grep: make the behavior for NUL-byte in patterns sane
Ævar Arnfjörð Bjarmason
1
-16
/
+7
2019-07-01
grep: inline the return value of a function call used only once
Ævar Arnfjörð Bjarmason
1
-3
/
+1
2019-06-28
grep: don't use PCRE2?_UTF8 with "log --encoding=<non-utf8>"
Ævar Arnfjörð Bjarmason
1
-4
/
+4
2019-05-28
grep: fail if call could output and name is null
Emily Shaffer
1
-0
/
+4
2019-01-04
Merge branch 'nd/the-index'
Junio C Hamano
1
-1
/
+1
2018-11-12
notes-cache.c: remove the_repository references
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2018-11-05
grep: remove #ifdef NO_PTHREADS
Nguyễn Thái Ngọc Duy
1
-6
/
+0
2018-09-21
userdiff.c: remove implicit dependency on the_index
Nguyễn Thái Ngọc Duy
1
-9
/
+12
2018-09-21
grep.c: remove implicit dependency on the_index
Nguyễn Thái Ngọc Duy
1
-5
/
+8
2018-09-21
diff.c: remove the_index dependency in textconv() functions
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2018-08-02
Merge branch 'tb/grep-only-matching'
Junio C Hamano
1
-33
/
+58
2018-07-18
Merge branch 'tb/grep-column'
Junio C Hamano
1
-29
/
+103
2018-07-18
Merge branch 'sb/object-store-grafts'
Junio C Hamano
1
-0
/
+1
2018-07-09
grep.c: teach 'git grep --only-matching'
Taylor Blau
1
-16
/
+35
2018-07-03
grep.c: extract show_line_header()
Taylor Blau
1
-19
/
+25
2018-06-25
Merge branch 'nd/complete-config-vars'
Junio C Hamano
1
-57
/
+52
2018-06-22
grep.c: add configuration variables to show matched option
Taylor Blau
1
-0
/
+6
2018-06-22
grep.c: display column number of first match
Taylor Blau
1
-5
/
+28
2018-06-22
grep.[ch]: extend grep_opt to allow showing matched column
Taylor Blau
1
-10
/
+37
2018-06-22
grep.c: expose {,inverted} match column in match_line()
Taylor Blau
1
-19
/
+39
2018-05-30
Merge branch 'ma/regex-no-regfree-after-comp-fail'
Junio C Hamano
1
-2
/
+0
2018-05-29
help: add --config to list all available config
Nguyễn Thái Ngọc Duy
1
-0
/
+3
2018-05-29
grep: keep all colors in an array
Nguyễn Thái Ngọc Duy
1
-57
/
+49
2018-05-21
regex: do not call `regfree()` if compilation fails
Martin Ågren
1
-2
/
+0
2018-05-16
object-store: move object access functions to object-store.h
Stefan Beller
1
-0
/
+1
2018-05-06
Replace all die("BUG: ...") calls by BUG() ones
Johannes Schindelin
1
-8
/
+8
2018-03-14
sha1_file: convert read_sha1_file to struct object_id
brian m. carlson
1
-1
/
+1
2018-02-13
color.h: document and modernize header
Stefan Beller
1
-0
/
+5
2017-12-13
Merge branch 'ab/pcre2-grep'
Junio C Hamano
1
-0
/
+26
2017-11-24
grep: fix segfault under -P + PCRE2 <=10.30 + (*NO_JIT)
Ævar Arnfjörð Bjarmason
1
-0
/
+26
2017-11-21
grep: show non-empty lines before functions with -W
René Scharfe
1
-4
/
+23
2017-11-21
grep: update boundary variable for pre-context
René Scharfe
1
-6
/
+8
2017-11-15
Merge branch 'ab/pcre-v2'
Junio C Hamano
1
-1
/
+1
2017-11-13
grep: fix NO_LIBPCRE1_JIT to fully disable JIT
Charles Bailey
1
-1
/
+1
2017-08-23
Merge branch 'as/grep-quiet-no-match-exit-code-fix'
Junio C Hamano
1
-1
/
+1
2017-08-17
git-grep: correct exit code with --quiet and -L
Anthony Sottile
1
-1
/
+1
2017-08-02
grep: recurse in-process using 'struct repository'
Brandon Williams
1
-13
/
+0
2017-06-30
grep: remove redundant REG_NEWLINE when compiling fixed regex
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2017-06-30
grep: remove regflags from the public grep_opt API
Ævar Arnfjörð Bjarmason
1
-9
/
+34
2017-06-30
grep: remove redundant and verbose re-assignments to 0
Ævar Arnfjörð Bjarmason
1
-11
/
+0
2017-06-30
grep: remove redundant "fixed" field re-assignment to 0
Ævar Arnfjörð Bjarmason
1
-2
/
+0
2017-06-30
grep: adjust a redundant grep pattern type assignment
Ævar Arnfjörð Bjarmason
1
-4
/
+1
2017-06-30
grep: remove redundant double assignment to 0
Ævar Arnfjörð Bjarmason
1
-1
/
+0
2017-06-24
Merge branch 'ab/free-and-null'
Junio C Hamano
1
-8
/
+4
2017-06-24
Merge branch 'bw/config-h'
Junio C Hamano
1
-0
/
+1
2017-06-24
Merge branch 'ab/pcre-v2'
Junio C Hamano
1
-1
/
+1
2017-06-21
grep: fix erroneously copy/pasted variable in check/assert pattern
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2017-06-19
Merge branch 'bw/object-id'
Junio C Hamano
1
-10
/
+9
2017-06-16
*.[ch] refactoring: make use of the FREE_AND_NULL() macro
Ævar Arnfjörð Bjarmason
1
-6
/
+3
2017-06-16
coccinelle: make use of the "type" FREE_AND_NULL() rule
Ævar Arnfjörð Bjarmason
1
-2
/
+1
2017-06-15
config: don't include config.h by default
Brandon Williams
1
-0
/
+1
2017-06-02
diff: convert fill_filespec to struct object_id
Brandon Williams
1
-1
/
+1
2017-06-02
grep: convert to struct object_id
Brandon Williams
1
-9
/
+8
2017-06-02
grep: add support for PCRE v2
Ævar Arnfjörð Bjarmason
1
-0
/
+145
2017-05-26
grep: un-break building with PCRE < 8.32
Ævar Arnfjörð Bjarmason
1
-3
/
+3
2017-05-26
grep: add support for the PCRE v1 JIT API
Ævar Arnfjörð Bjarmason
1
-4
/
+36
2017-05-26
grep: move is_fixed() earlier to avoid forward declaration
Ævar Arnfjörð Bjarmason
1
-12
/
+12
2017-05-26
grep: change internal *pcre* variable & function names to be *pcre1*
Ævar Arnfjörð Bjarmason
1
-26
/
+26
2017-05-26
grep: change the internal PCRE macro names to be PCRE1
Ævar Arnfjörð Bjarmason
1
-3
/
+3
2017-05-26
grep: factor test for \0 in grep patterns into a function
Ævar Arnfjörð Bjarmason
1
-7
/
+15
2017-05-26
grep: remove redundant regflags assignments
Ævar Arnfjörð Bjarmason
1
-5
/
+1
2017-03-30
convert unchecked snprintf into xsnprintf
Jeff King
1
-2
/
+2
2017-03-17
grep: set default output method
Brandon Williams
1
-5
/
+7
2016-12-22
grep: add submodules as a grep source type
Brandon Williams
1
-1
/
+15
2016-09-26
Merge branch 'js/regexec-buf'
Junio C Hamano
1
-12
/
+2
2016-09-21
regex: use regexec_buf()
Johannes Schindelin
1
-12
/
+2
2016-08-10
Merge branch 'js/am-3-merge-recursive-direct'
Junio C Hamano
1
-4
/
+4
2016-08-04
Merge branch 'jc/grep-commandline-vs-configuration'
Junio C Hamano
1
-11
/
+11
2016-07-26
die("bug"): report bugs consistently
Johannes Schindelin
1
-4
/
+4
2016-07-25
grep: further simplify setting the pattern type
Junio C Hamano
1
-11
/
+11
2016-07-19
Merge branch 'nd/icase'
Junio C Hamano
1
-7
/
+57
2016-07-01
grep.c: reuse "icase" variable
Nguyễn Thái Ngọc Duy
1
-4
/
+1
2016-07-01
grep/pcre: support utf-8
Nguyễn Thái Ngọc Duy
1
-0
/
+2
2016-07-01
grep/pcre: prepare locale-dependent tables for icase matching
Nguyễn Thái Ngọc Duy
1
-2
/
+6
2016-07-01
grep: rewrite an if/else condition to avoid duplicate expression
Nguyễn Thái Ngọc Duy
1
-4
/
+1
2016-07-01
grep/icase: avoid kwsset when -F is specified
Nguyễn Thái Ngọc Duy
1
-1
/
+44
2016-06-27
grep/icase: avoid kwsset on literal non-ascii strings
Nguyễn Thái Ngọc Duy
1
-1
/
+6
2016-06-27
grep: break down an "if" stmt in preparation for next changes
Nguyễn Thái Ngọc Duy
1
-1
/
+3
2016-06-20
Merge branch 'rs/xdiff-hunk-with-func-line'
Junio C Hamano
1
-2
/
+26
2016-05-31
grep: -W: don't extend context to trailing empty lines
René Scharfe
1
-2
/
+26
2016-05-09
grep.c: use error_errno()
Nguyễn Thái Ngọc Duy
1
-2
/
+2
2016-02-22
use xmallocz to avoid size arithmetic
Jeff King
1
-2
/
+1
2015-10-05
color: add color_set helper for copying raw colors
Jeff King
1
-16
/
+16
2015-09-25
grep: use xsnprintf to format failure message
Jeff King
1
-2
/
+2
2015-02-11
Merge branch 'jk/blame-commit-label'
Junio C Hamano
1
-2
/
+2
2015-01-13
use xstrdup_or_null to replace ternary conditionals
Jeff King
1
-2
/
+2
2014-10-31
Merge branch 'rs/grep-color-words'
Junio C Hamano
1
-7
/
+22
2014-10-28
grep: add color.grep.matchcontext and color.grep.matchselected
René Scharfe
1
-7
/
+22
2014-10-14
color_parse: do not mention variable name in error message
Jeff King
1
-1
/
+1
2014-06-03
Merge branch 'as/grep-fullname-config'
Junio C Hamano
1
-0
/
+5
2014-03-20
grep: add grep.fullName config variable
Andreas Schwab
1
-0
/
+5
2014-03-18
Merge branch 'rs/grep-h-c'
Junio C Hamano
1
-2
/
+5
2014-03-11
grep: support -h (no header) with --count
René Scharfe
1
-2
/
+5
2014-03-06
Use hashcpy() when copying object names
Sun He
1
-1
/
+1
2013-05-10
grep: allow to use textconv filters
Jeff King
1
-14
/
+86
[next]