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
/
builtin
/
grep.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-03-28
Merge branch 'eb/hash-transition'
Junio C Hamano
1
-4
/
+4
2024-02-14
Merge branch 'js/check-null-from-read-object-file'
Junio C Hamano
1
-0
/
+2
2024-02-06
Always check the return value of `repo_read_object_file()`
Johannes Schindelin
1
-0
/
+2
2023-12-26
treewide: remove unnecessary includes in source files
Elijah Newren
1
-1
/
+0
2023-12-26
treewide: remove unnecessary includes in source files
Elijah Newren
1
-3
/
+0
2023-11-07
Merge branch 'jc/grep-f-relative-to-cwd'
Junio C Hamano
1
-2
/
+11
2023-10-12
grep: -f <path> is relative to $cwd
Junio C Hamano
1
-2
/
+11
2023-10-02
tree-walk: init_tree_desc take an oid to get the hash algorithm
Eric W. Biederman
1
-4
/
+4
2023-09-18
Merge branch 'rs/grep-no-no-or'
Junio C Hamano
1
-1
/
+1
2023-09-07
grep: reject --no-or
René Scharfe
1
-1
/
+1
2023-09-05
grep: use OPT_INTEGER_F for --max-depth
René Scharfe
1
-3
/
+2
2023-08-02
Merge branch 'jc/tree-walk-drop-base-offset'
Junio C Hamano
1
-1
/
+1
2023-07-17
Merge branch 'cw/compat-util-header-cleanup'
Junio C Hamano
1
-1
/
+0
2023-07-07
tree-walk: lose base_offset that is never used in tree_entry_interesting
Junio C Hamano
1
-1
/
+1
2023-07-06
Merge branch 'gc/config-context'
Junio C Hamano
1
-4
/
+8
2023-07-05
git-compat-util: move alloc macros to git-compat-util.h
Calvin Wan
1
-1
/
+0
2023-06-28
config: pass kvi to die_bad_number()
Glen Choo
1
-1
/
+1
2023-06-28
config: add ctx arg to config_fn_t
Glen Choo
1
-3
/
+4
2023-06-28
config: inline git_color_default_config
Glen Choo
1
-1
/
+4
2023-06-21
object-store-ll.h: split this header out of object-store.h
Elijah Newren
1
-1
/
+1
2023-06-21
repository: remove unnecessary include of path.h
Elijah Newren
1
-0
/
+1
2023-06-21
cache.h: remove this no-longer-used header
Elijah Newren
1
-2
/
+1
2023-06-21
read-cache*.h: move declarations for read-cache.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-04-11
pager.h: move declarations for pager.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-04-11
object-file.h: move declarations for object-file.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-04-11
object-name.h: move declarations for object-name.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-04-04
Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...
Junio C Hamano
1
-2
/
+4
2023-03-28
cocci: apply the "object-store.h" part of "the_repository.pending"
Ævar Arnfjörð Bjarmason
1
-2
/
+4
2023-03-21
write-or-die.h: move declarations for write-or-die.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
setup.h: move declarations for setup.c functions from cache.h
Elijah Newren
1
-0
/
+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-23
alloc.h: move ALLOC_GROW() functions from cache.h
Elijah Newren
1
-0
/
+1
2022-11-21
builtin/{grep,log}.: don't define "USE_THE_INDEX_COMPATIBILITY_MACROS"
Ævar Arnfjörð Bjarmason
1
-1
/
+0
2022-09-23
builtin/grep.c: integrate with sparse index
Shaoxuan Yuan
1
-3
/
+45
2022-06-22
grep: add --max-count command line option
Carlos López
1
-0
/
+9
2022-03-16
Merge branch 'ab/object-file-api-updates'
Junio C Hamano
1
-2
/
+2
2022-02-25
object-file API: pass an enum to read_object_with_reference()
Ævar Arnfjörð Bjarmason
1
-2
/
+2
2022-02-25
Merge branch 'ab/grep-patterntype'
Junio C Hamano
1
-13
/
+14
2022-02-15
grep: simplify config parsing and option parsing
Ævar Arnfjörð Bjarmason
1
-6
/
+4
2022-02-15
grep API: call grep_config() after grep_init()
Ævar Arnfjörð Bjarmason
1
-2
/
+2
2022-02-15
grep.c: don't pass along NULL callback value
Ævar Arnfjörð Bjarmason
1
-2
/
+2
2022-02-15
built-ins: trust the "prefix" from run_builtin()
Ævar Arnfjörð Bjarmason
1
-5
/
+8
2022-02-04
i18n: factorize more 'incompatible options' messages
Jean-Noël Avila
1
-5
/
+3
2021-10-23
grep: fix a "path_list" memory leak
Ævar Arnfjörð Bjarmason
1
-4
/
+5
2021-10-23
grep: use object_array_clear() in cmd_grep()
Ævar Arnfjörð Bjarmason
1
-0
/
+1
2021-10-23
grep: prefer "struct grep_opt" over its "void *" equivalent
Ævar Arnfjörð Bjarmason
1
-2
/
+2
2021-09-09
repository: support unabsorbed in repo_submodule_init
Jonathan Tan
1
-4
/
+1
2021-09-08
grep: add repository to OID grep sources
Jonathan Tan
1
-9
/
+6
2021-09-08
grep: allocate subrepos on heap
Jonathan Tan
1
-9
/
+30
2021-09-08
grep: read submodule entry with explicit repo
Jonathan Tan
1
-5
/
+5
2021-09-08
grep: typesafe versions of grep_source_init
Jonathan Tan
1
-2
/
+2
2021-09-08
grep: use submodule-ODB-as-alternate lazy-addition
Jonathan Tan
1
-1
/
+1
2021-07-01
dir.[ch]: replace dir_init() with DIR_INIT
Ævar Arnfjörð Bjarmason
1
-2
/
+1
2021-05-10
Merge branch 'bc/hash-transition-interop-part-1'
Junio C Hamano
1
-1
/
+1
2021-04-30
Merge branch 'ds/sparse-index-protections'
Junio C Hamano
1
-0
/
+2
2021-04-27
hash: provide per-algorithm null OIDs
brian m. carlson
1
-1
/
+1
2021-04-14
grep: ensure full index
Derrick Stolee
1
-0
/
+2
2021-03-22
Merge branch 'ab/grep-pcre2-allocfix'
Junio C Hamano
1
-1
/
+0
2021-03-13
use CALLOC_ARRAY
René Scharfe
1
-1
/
+1
2021-02-25
Merge branch 'mt/grep-sparse-checkout'
Junio C Hamano
1
-2
/
+5
2021-02-17
Merge branch 'mt/grep-cached-untracked'
Junio C Hamano
1
-0
/
+3
2021-02-17
grep/pcre2: move back to thread-only PCREv2 structures
Ævar Arnfjörð Bjarmason
1
-1
/
+0
2021-02-09
grep: honor sparse-checkout on working tree searches
Matheus Tavares
1
-2
/
+5
2021-02-09
grep: error out if --untracked is used with --cached
Matheus Tavares
1
-0
/
+3
2021-01-26
grep/log: remove hidden --debug and --grep-debug options
Ævar Arnfjörð Bjarmason
1
-5
/
+0
2020-11-21
grep: use designated initializers for `grep_defaults`
Martin Ågren
1
-1
/
+0
2020-11-21
grep: don't set up a "default" repo for grep
Martin Ågren
1
-1
/
+1
2020-10-12
grep: handle deref_tag() returning NULL
René Scharfe
1
-0
/
+11
2020-09-10
quote_path: give flags parameter to quote_path()
Junio C Hamano
1
-1
/
+1
2020-09-10
quote_path: rename quote_path_relative() to quote_path()
Junio C Hamano
1
-1
/
+1
2020-08-18
dir: fix problematic API to avoid memory leaks
Elijah Newren
1
-1
/
+2
2020-08-10
Merge branch 'jk/strvec'
Junio C Hamano
1
-1
/
+1
2020-07-28
grep: avoid using oid_to_hex() with parse_object_or_die()
René Scharfe
1
-1
/
+1
2020-07-28
strvec: convert builtin/ callers away from argv_array name
Jeff King
1
-1
/
+1
2020-05-05
Merge branch 'dl/opt-callback-cleanup'
Junio C Hamano
1
-13
/
+13
2020-04-29
Merge branch 'en/fill-directory-exponential'
Junio C Hamano
1
-2
/
+0
2020-04-28
Use OPT_CALLBACK and OPT_CALLBACK_F
Denton Liu
1
-13
/
+13
2020-04-20
grep: follow conventions for printing paths w/ unusual chars
Matheus Tavares
1
-12
/
+34
2020-04-01
Fix error-prone fill_directory() API; make it only return matches
Elijah Newren
1
-2
/
+0
2020-02-14
Merge branch 'mt/threaded-grep-in-object-store'
Junio C Hamano
1
-47
/
+46
2020-01-30
grep: ignore --recurse-submodules if --no-index is given
Philippe Blain
1
-2
/
+5
2020-01-17
grep: use no. of cores as the default no. of threads
Matheus Tavares
1
-2
/
+1
2020-01-17
grep: move driver pre-load out of critical section
Matheus Tavares
1
-4
/
+4
2020-01-17
grep: re-enable threads in non-worktree case
Matheus Tavares
1
-1
/
+1
2020-01-17
grep: protect packed_git [re-]initialization
Matheus Tavares
1
-2
/
+6
2020-01-17
grep: allow submodule functions to run in parallel
Matheus Tavares
1
-16
/
+22
2020-01-17
submodule-config: add skip_if_read option to repo_read_gitmodules()
Matheus Tavares
1
-1
/
+1
2020-01-17
grep: replace grep_read_mutex by internal obj read lock
Matheus Tavares
1
-30
/
+16
2020-01-17
grep: fix racy calls in grep_objects()
Matheus Tavares
1
-0
/
+5
2020-01-17
grep: fix race conditions at grep_submodule()
Matheus Tavares
1
-4
/
+3
2019-10-23
Merge branch 'cb/pcre2-chartables-leakfix'
Junio C Hamano
1
-0
/
+1
2019-10-18
grep: make PCRE2 aware of custom allocator
Carlo Marcelo Arenas Belón
1
-0
/
+1
2019-08-26
grep: use return value of strbuf_detach()
René Scharfe
1
-2
/
+2
2019-08-22
Merge branch 'mt/grep-submodules-working-tree'
Junio C Hamano
1
-4
/
+6
2019-07-30
grep: fix worktree case in submodules
Matheus Tavares
1
-4
/
+6
2019-06-27
sha1-file.c: remove the_repo from read_object_with_reference()
Nguyễn Thái Ngọc Duy
1
-2
/
+4
2019-02-06
Merge branch 'nd/the-index-final'
Junio C Hamano
1
-19
/
+27
2019-01-29
Merge branch 'bc/tree-walk-oid'
Junio C Hamano
1
-4
/
+4
2019-01-29
Merge branch 'sb/submodule-recursive-fetch-gets-the-tip'
Junio C Hamano
1
-7
/
+10
2019-01-24
cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch
Nguyễn Thái Ngọc Duy
1
-0
/
+1
2019-01-15
tree-walk: store object_id in a separate member
brian m. carlson
1
-4
/
+4
2019-01-14
Merge branch 'nd/attr-pathspec-in-tree-walk'
Junio C Hamano
1
-1
/
+2
2019-01-14
sha1-name.c: remove implicit dependency on the_index
Nguyễn Thái Ngọc Duy
1
-1
/
+2
2019-01-14
grep: use grep_opt->repo instead of explict repo argument
Nguyễn Thái Ngọc Duy
1
-17
/
+24
2019-01-04
Merge branch 'jk/loose-object-cache'
Junio C Hamano
1
-1
/
+1
2018-12-05
repository: repo_submodule_init to take a submodule struct
Stefan Beller
1
-7
/
+10
2018-11-19
tree-walk.c: make tree_entry_interesting() take an index
Nguyễn Thái Ngọc Duy
1
-1
/
+2
2018-11-18
Merge branch 'jk/unused-parameter-fixes'
Junio C Hamano
1
-1
/
+13
2018-11-18
Merge branch 'nd/pthreads'
Junio C Hamano
1
-49
/
+30
2018-11-13
Merge branch 'ao/submodule-wo-gitmodules-checked-out'
Junio C Hamano
1
-3
/
+14
2018-11-13
sha1-file: use an object_directory for the main object dir
Jeff King
1
-1
/
+1
2018-11-06
assert NOARG/NONEG behavior of parse-options callbacks
Jeff King
1
-1
/
+13
2018-11-05
grep: clean up num_threads handling
Nguyễn Thái Ngọc Duy
1
-31
/
+27
2018-11-05
grep: remove #ifdef NO_PTHREADS
Nguyễn Thái Ngọc Duy
1
-37
/
+22
2018-10-31
submodule: support reading .gitmodules when it's not in the working tree
Antonio Ospite
1
-3
/
+14
2018-10-19
Merge branch 'rs/grep-no-recursive'
Junio C Hamano
1
-0
/
+2
2018-10-03
grep: add -r/--[no-]recursive
René Scharfe
1
-0
/
+2
2018-09-21
userdiff.c: remove implicit dependency on the_index
Nguyễn Thái Ngọc Duy
1
-1
/
+2
2018-09-21
grep.c: remove implicit dependency on the_index
Nguyễn Thái Ngọc Duy
1
-2
/
+2
2018-08-20
Merge branch 'nd/no-the-index'
Junio C Hamano
1
-3
/
+3
2018-08-15
Merge branch 'nd/i18n'
Junio C Hamano
1
-6
/
+6
2018-08-13
grep: use the right index instead of the_index
Nguyễn Thái Ngọc Duy
1
-2
/
+2
2018-08-13
dir.c: remove an implicit dependency on the_index in pathspec code
Nguyễn Thái Ngọc Duy
1
-3
/
+3
2018-08-02
Merge branch 'tb/grep-only-matching'
Junio C Hamano
1
-0
/
+6
2018-08-02
Merge branch 'sb/object-store-lookup'
Junio C Hamano
1
-1
/
+2
2018-07-23
builtin/grep.c: mark strings for translation
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2018-07-23
Update messages in preparation for i18n
Nguyễn Thái Ngọc Duy
1
-5
/
+5
2018-07-09
grep.c: teach 'git grep --only-matching'
Taylor Blau
1
-0
/
+6
2018-06-29
tag: add repository argument to deref_tag
Stefan Beller
1
-1
/
+2
2018-06-22
builtin/grep.c: add '--column' option to 'git-grep(1)'
Taylor Blau
1
-0
/
+1
2018-06-01
Merge branch 'nd/use-opt-int-set-f'
Junio C Hamano
1
-3
/
+3
2018-05-30
Merge branch 'sb/grep-die-on-unreadable-index'
Junio C Hamano
1
-1
/
+2
2018-05-24
Use OPT_SET_INT_F() for cmdline option specification
Nguyễn Thái Ngọc Duy
1
-3
/
+3
2018-05-16
grep: handle corrupt index files early
Stefan Beller
1
-1
/
+2
2018-05-08
Merge branch 'sb/submodule-move-nested'
Junio C Hamano
1
-8
/
+6
2018-04-11
Merge branch 'sb/object-store'
Junio C Hamano
1
-1
/
+2
2018-04-10
Merge branch 'bc/object-id'
Junio C Hamano
1
-3
/
+3
2018-03-29
submodule-config: allow submodule_free to handle arbitrary repositories
Stefan Beller
1
-1
/
+1
2018-03-29
grep: remove "repo" arg from non-supporting funcs
Jonathan Tan
1
-7
/
+5
2018-03-23
repository: introduce raw object store field
Stefan Beller
1
-1
/
+2
2018-03-14
Merge branch 'nd/parseopt-completion'
Junio C Hamano
1
-5
/
+8
2018-03-14
sha1_file: convert read_sha1_file to struct object_id
brian m. carlson
1
-1
/
+1
2018-03-14
sha1_file: convert read_object_with_reference to object_id
brian m. carlson
1
-2
/
+2
2018-03-08
Merge branch 'rv/grep-cleanup'
Junio C Hamano
1
-13
/
+20
2018-02-23
grep: simplify grep_oid and grep_file
Rasmus Villemoes
1
-4
/
+2
2018-02-23
grep: move grep_source_init outside critical section
Rasmus Villemoes
1
-9
/
+18
2018-02-14
object: rename function 'typename' to 'type_name'
Brandon Williams
1
-1
/
+1
2018-02-09
completion: use __gitcomp_builtin in _git_grep
Nguyễn Thái Ngọc Duy
1
-5
/
+8
2017-12-19
Merge branch 'bw/pathspec-match-submodule-boundary'
Junio C Hamano
1
-0
/
+1
2017-12-05
pathspec: only match across submodule boundaries when requested
Brandon Williams
1
-0
/
+1
2017-11-15
Merge branch 'bw/grep-recurse-submodules' into maint
Junio C Hamano
1
-0
/
+2
2017-11-06
Merge branch 'bw/grep-recurse-submodules'
Junio C Hamano
1
-0
/
+2
2017-11-02
grep: take the read-lock when adding a submodule
Martin Ågren
1
-0
/
+2
2017-10-18
Merge branch 'jk/ref-filter-colors-fix'
Junio C Hamano
1
-1
/
+1
2017-10-17
Revert "color: check color.ui in git_default_config()"
Jeff King
1
-1
/
+1
2017-08-26
Merge branch 'bw/submodule-config-cleanup'
Junio C Hamano
1
-4
/
+0
2017-08-23
Merge branch 'jk/ref-filter-colors' into maint
Junio C Hamano
1
-1
/
+1
2017-08-22
Merge branch 'bw/grep-recurse-submodules'
Junio C Hamano
1
-310
/
+86
2017-08-11
Merge branch 'jk/ref-filter-colors'
Junio C Hamano
1
-1
/
+1
2017-08-11
Merge branch 'bc/object-id'
Junio C Hamano
1
-4
/
+4
2017-08-03
submodule: remove gitmodules_config
Brandon Williams
1
-4
/
+0
2017-08-02
Merge branch 'bc/object-id' into bw/submodule-config-cleanup
Junio C Hamano
1
-3
/
+3
2017-08-02
grep: recurse in-process using 'struct repository'
Brandon Williams
1
-310
/
+86
2017-07-17
sha1_name: convert GET_SHA1* flags to GET_OID*
brian m. carlson
1
-1
/
+1
2017-07-17
sha1_name: convert get_sha1* to get_oid*
brian m. carlson
1
-2
/
+2
2017-07-17
submodule: convert submodule config lookup to use object_id
brian m. carlson
1
-2
/
+2
2017-07-13
Merge branch 'ab/grep-lose-opt-regflags'
Junio C Hamano
1
-2
/
+0
2017-07-13
color: check color.ui in git_default_config()
Jeff King
1
-1
/
+1
2017-07-12
Merge branch 'rs/use-div-round-up'
Junio C Hamano
1
-1
/
+1
2017-07-10
use DIV_ROUND_UP
René Scharfe
1
-1
/
+1
2017-07-05
Merge branch 'bw/repo-object'
Junio C Hamano
1
-1
/
+2
2017-06-30
grep: remove regflags from the public grep_opt API
Ævar Arnfjörð Bjarmason
1
-2
/
+0
2017-06-27
Spelling fixes
Ville Skyttä
1
-1
/
+1
2017-06-24
Merge branch 'bw/config-h'
Junio C Hamano
1
-0
/
+1
2017-06-23
submodule: convert is_submodule_initialized to work on a repository
Brandon Williams
1
-1
/
+2
2017-06-23
Merge branches 'bw/ls-files-sans-the-index' and 'bw/config-h' into bw/repo-ob...
Junio C Hamano
1
-0
/
+1
2017-06-19
Merge branch 'bw/object-id'
Junio C Hamano
1
-11
/
+11
2017-06-19
Merge branch 'ab/pcre-v2'
Junio C Hamano
1
-3
/
+13
2017-06-15
config: don't include config.h by default
Brandon Williams
1
-0
/
+1
2017-06-13
Merge branch 'sb/submodule-blanket-recursive'
Junio C Hamano
1
-0
/
+3
2017-06-02
Merge branch 'ab/grep-preparatory-cleanup'
Junio C Hamano
1
-4
/
+19
2017-06-02
Merge branch 'jk/diff-blob'
Junio C Hamano
1
-1
/
+3
2017-06-02
grep: convert to struct object_id
Brandon Williams
1
-11
/
+11
2017-06-01
builtin/grep.c: respect 'submodule.recurse' option
Stefan Beller
1
-0
/
+3
2017-05-29
Merge branch 'bc/object-id'
Junio C Hamano
1
-1
/
+1
2017-05-26
grep: skip pthreads overhead when using one thread
Ævar Arnfjörð Bjarmason
1
-0
/
+2
2017-05-26
grep: don't redundantly compile throwaway patterns under threading
Ævar Arnfjörð Bjarmason
1
-3
/
+11
2017-05-26
grep: assert that threading is enabled when calling grep_{lock,unlock}
Ævar Arnfjörð Bjarmason
1
-4
/
+4
2017-05-26
grep: given --threads with NO_PTHREADS=YesPlease, warn
Ævar Arnfjörð Bjarmason
1
-0
/
+13
2017-05-26
grep: catch a missing enum in switch statement
Ævar Arnfjörð Bjarmason
1
-0
/
+2
2017-05-24
get_sha1_with_context: dynamically allocate oc->path
Jeff King
1
-1
/
+3
2017-05-08
object: convert parse_object* to take struct object_id
brian m. carlson
1
-1
/
+1
2017-05-06
dir: convert fill_directory to take an index
Brandon Williams
1
-1
/
+1
2017-04-19
Merge branch 'ab/grep-plug-pathspec-leak'
Junio C Hamano
1
-0
/
+1
2017-04-16
grep: plug a trivial memory leak
Ævar Arnfjörð Bjarmason
1
-0
/
+1
2017-03-30
Merge branch 'bw/recurse-submodules-relative-fix'
Junio C Hamano
1
-16
/
+25
2017-03-28
Merge branch 'sb/checkout-recurse-submodules'
Junio C Hamano
1
-1
/
+1
2017-03-28
Merge branch 'bw/grep-recurse-submodules'
Junio C Hamano
1
-12
/
+9
2017-03-18
grep: fix builds with with no thread support
Brandon Williams
1
-12
/
+9
[next]