aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/grep.c
AgeCommit message (Expand)AuthorFilesLines
2015-04-20Merge branch 'ps/grep-help-all-callback-arg'Junio C Hamano1-1/+1
2015-04-12grep: correctly initialize help-all optionPatrick Steinhardt1-1/+1
2015-03-25Merge branch 'ws/grep-quiet-no-pager'Junio C Hamano1-1/+1
2015-03-19grep: fix "--quiet" overwriting current outputWilhelm Schuermann1-1/+1
2015-03-06Merge branch 'nd/grep-exclude-standard-help-fix'Junio C Hamano1-1/+1
2015-02-27grep: correct help string for --exclude-standardNguyễn Thái Ngọc Duy1-1/+1
2015-01-14standardize usage info string formatAlex Henrie1-1/+1
2014-10-16make add_object_array_with_context interface more saneJeff King1-4/+4
2014-06-25Merge branch 'sk/spawn-less-case-insensitively-from-grep-O-i' into maintJunio C Hamano1-0/+3
2014-06-06Merge branch 'sk/spawn-less-case-insensitively-from-grep-O-i'Junio C Hamano1-0/+3
2014-05-15git grep -O -i: if the pager is 'less', pass the '-I' optionJohannes Schindelin1-0/+3
2014-05-07grep: use run-command's "dir" option for --open-files-in-pagerJeff King1-3/+1
2014-02-24pathspec: convert some match_pathspec_depth() to dir_path_match()Nguyễn Thái Ngọc Duy1-3/+1
2014-02-24pathspec: convert some match_pathspec_depth() to ce_path_match()Nguyễn Thái Ngọc Duy1-1/+1
2013-10-23Merge branch 'mg/more-textconv'Junio C Hamano1-5/+8
2013-09-09Merge branch 'jl/submodule-mv'Junio C Hamano1-4/+6
2013-08-05Replace deprecated OPT_BOOLEAN by OPT_BOOLStefan Beller1-19/+19
2013-07-22Merge branch 'jx/clean-interactive'Junio C Hamano1-3/+2
2013-07-15convert {read,fill}_directory to take struct pathspecNguyễn Thái Ngọc Duy1-1/+1
2013-07-15parse_pathspec: add special flag for max_depth featureNguyễn Thái Ngọc Duy1-1/+2
2013-07-15convert some get_pathspec() calls to parse_pathspec()Nguyễn Thái Ngọc Duy1-3/+3
2013-07-15move struct pathspec and related functions to pathspec.[ch]Nguyễn Thái Ngọc Duy1-0/+1
2013-07-09Convert "struct cache_entry *" to "const ..." wherever possibleNguyễn Thái Ngọc Duy1-1/+1
2013-06-26quote_path_relative(): remove redundant parameterJiang Xin1-3/+2
2013-05-10grep: honor --textconv for the case rev:pathMichael J Gruber1-5/+6
2013-05-10grep: allow to use textconv filtersJeff King1-0/+2
2013-03-25Merge branch 'jk/fully-peeled-packed-ref'Junio C Hamano1-3/+1
2013-03-17use parse_object_or_die instead of die("bad object")Jeff King1-3/+1
2013-01-21grep: avoid accepting ambiguous revisionNguyễn Thái Ngọc Duy1-0/+2
2012-10-29Merge branch 'nd/grep-true-path'Jeff King1-13/+18
2012-10-12grep: stop looking at random places for .gitattributesNguyễn Thái Ngọc Duy1-13/+18
2012-10-09grep: move pattern-type bits support to top-level grep.[ch]Junio C Hamano1-39/+1
2012-10-09grep: move the configuration parsing logic to grep.[ch]Junio C Hamano1-131/+0
2012-10-09builtin/grep.c: make configuration callback more reusableJunio C Hamano1-25/+79
2012-09-29Merge branch 'jc/maint-log-grep-all-match-1' into maintJunio C Hamano1-0/+4
2012-09-18Merge branch 'jc/maint-log-grep-all-match'Junio C Hamano1-0/+4
2012-09-14grep: show --debug output only onceMichael J Gruber1-0/+1
2012-09-14grep: teach --debug option to dump the parse treeJunio C Hamano1-0/+3
2012-09-07Merge branch 'nd/i18n-parseopt-help'Junio C Hamano1-45/+45
2012-08-22Use imperative form in help usage to describe an actionNguyễn Thái Ngọc Duy1-1/+1
2012-08-20i18n: grep: mark parseopt strings for translationNguyễn Thái Ngọc Duy1-45/+45
2012-08-03grep: add a grep.patternType configuration settingJ Smith1-40/+72
2012-07-11Merge branch 'mm/verify-filename-fix' into maintJunio C Hamano1-1/+1
2012-06-28Merge branch 'mm/verify-filename-fix'Junio C Hamano1-1/+1
2012-06-18verify_filename(): ask the caller to chose the kind of diagnosisMatthieu Moy1-1/+1
2012-06-01Merge branch 'rs/maint-grep-F' into maintJunio C Hamano1-5/+2
2012-05-25Merge branch 'rs/maint-grep-F'Junio C Hamano1-5/+2
2012-05-21grep: stop leaking line strings with -fRené Scharfe1-5/+2
2012-03-01Merge branch 'rs/no-no-no-parseopt'Junio C Hamano1-3/+2
2012-02-28parse-options: remove PARSE_OPT_NEGHELPRené Scharfe1-2/+2
2012-02-14Merge branch 'jk/grep-binary-attribute'Junio C Hamano1-144/+33
2012-02-07drop odd return value semantics from userdiff_configJeff King1-5/+2
2012-02-02grep: pre-load userdiff drivers when threadedJeff King1-4/+6
2012-02-02convert git-grep to use grep_source interfaceJeff King1-119/+23
2012-02-02grep: move sha1-reading mutex into low-level codeJeff King1-23/+6
2012-02-02grep: make locking flag globalJeff King1-2/+2
2012-01-23grep: fix -l/-L interaction with decoration linesAlbert Yale1-2/+3
2011-12-16grep: disable threading in non-worktree caseThomas Rast1-18/+18
2011-12-16grep: enable threading with -p and -W using lazy attribute lookupThomas Rast1-4/+9
2011-12-05Merge branch 'nd/misc-cleanups'Junio C Hamano1-5/+6
2011-10-27tree_entry_interesting(): give meaningful names to return valuesNguyễn Thái Ngọc Duy1-4/+5
2011-10-27tree-walk.c: do not leak internal structure in tree_entry_len()Nguyễn Thái Ngọc Duy1-1/+1
2011-10-26builtin/grep: simplify lock_and_read_sha1_file()Junio C Hamano1-7/+3
2011-10-26builtin/grep: make lock/unlock into static inline functionsJunio C Hamano1-5/+23
2011-10-26git grep: be careful to use mutexes only when they are initializedJohannes Schindelin1-4/+5
2011-10-15Merge branch 'jc/grep-untracked-exclude'Junio C Hamano1-1/+1
2011-10-15Merge branch 'jc/maint-grep-untracked-exclude' into jc/grep-untracked-excludeJunio C Hamano1-1/+1
2011-10-13Merge branch 'jc/grep-untracked-exclude'Junio C Hamano1-7/+17
2011-10-13Merge branch 'bw/grep-no-index-no-exclude'Junio C Hamano1-3/+3
2011-10-05Merge branch 'nm/grep-object-sha1-lock'Junio C Hamano1-0/+3
2011-10-04Merge branch 'jc/maint-grep-untracked-exclude' into jc/grep-untracked-excludeJunio C Hamano1-10/+20
2011-08-28Merge branch 'jk/color-and-pager'Junio C Hamano1-3/+1
2011-08-19want_color: automatically fallback to color.uiJeff King1-2/+0
2011-08-18git_config_colorbool: refactor stdout_is_tty handlingJeff King1-1/+1
2011-08-01grep: long context optionsRené Scharfe1-4/+4
2011-08-01grep: add option to show whole function as contextRené Scharfe1-1/+4
2011-06-05grep: add --headingRené Scharfe1-0/+2
2011-06-05grep: add --breakRené Scharfe1-1/+3
2011-06-05grep: fix coloring of hunk marks between filesRené Scharfe1-7/+16
2011-05-30Merge branch 'mk/grep-pcre'Junio C Hamano1-9/+43
2011-05-23Merge branch 'jc/magic-pathspec'Junio C Hamano1-7/+1
2011-05-10grep: use get_pathspec() correctlyJunio C Hamano1-7/+1
2011-05-09git-grep: do not die upon -F/-P when grep.extendedRegexp is set.Junio C Hamano1-13/+43
2011-05-09git-grep: Bail out when -P is used with -F or -EMichał Kiedrowicz1-1/+3
2011-05-09git-grep: Learn PCREMichał Kiedrowicz1-0/+2
2011-05-06Merge branch 'nd/struct-pathspec'Junio C Hamano1-6/+6
2011-04-03sparse: Fix errors and silence warningsStephen Boyd1-3/+3
2011-04-01Merge branch 'jr/grep-en-config'Junio C Hamano1-0/+13
2011-04-01Merge branch 'ab/i18n-st'Junio C Hamano1-17/+17
2011-03-30grep: allow -E and -n to be turned on by default via configurationJoe Ratterman1-0/+13
2011-03-28Merge branch 'maint'Junio C Hamano1-1/+1
2011-03-28grep: Add the option '--line-number'Joe Ratterman1-1/+1
2011-03-25Improve tree_entry_interesting() handling codeNguyễn Thái Ngọc Duy1-6/+6
2011-03-19grep: read patterns from stdin with -f -René Scharfe1-2/+4
2011-03-16Merge branch 'maint'Junio C Hamano1-2/+1
2011-03-16standardize brace placement in struct definitionsJonathan Nieder1-2/+1
2011-03-09i18n: git-grep "--open-files-in-pager" messageÆvar Arnfjörð Bjarmason1-1/+1
2011-03-09i18n: git-grep basic messagesÆvar Arnfjörð Bjarmason1-16/+16
2011-02-16grep --no-index: honor pathspecs correctlyJunio C Hamano1-0/+4
2011-02-03grep: drop pathspec_matches() in favor of tree_entry_interesting()Nguyễn Thái Ngọc Duy1-111/+14
2011-02-03grep: use writable strbuf from caller for grep_tree()Nguyễn Thái Ngọc Duy1-27/+24
2011-02-03grep: use match_pathspec_depth() for cache/worktree greppingNguyễn Thái Ngọc Duy1-1/+1
2011-02-03grep: convert to use struct pathspecNguyễn Thái Ngọc Duy1-14/+16
2010-12-10thread-utils.h: simplify the inclusionJunio C Hamano1-4/+0
2010-11-15add description parameter to OPT__QUIETRené Scharfe1-2/+2
2010-10-08Use angles for placeholders consistentlyŠtěpán Němec1-1/+1
2010-08-31Merge branch 'jn/paginate-fix'Junio C Hamano1-4/+2
2010-08-29object.h: Add OBJECT_ARRAY_INIT macro and make use of it.Thiago Farina1-1/+1
2010-08-18Merge branch 'tf/string-list-init'Junio C Hamano1-1/+1
2010-08-11grep: run setup_git_directory_gently() soonerNguyễn Thái Ngọc Duy1-4/+2
2010-07-15Merge branch 'jn/grep-open'Junio C Hamano1-0/+1
2010-07-07grep -O: Do not pass color sequences as filenames to pagerNazri Ramliy1-0/+1
2010-07-05string_list: Add STRING_LIST_INIT macro and make use of it.Thiago Farina1-1/+1
2010-06-30Merge branch 'jn/grep-open'Junio C Hamano1-26/+95
2010-06-27Merge branch 'jp/string-list-api-cleanup' into jn/grep-openJulian Phillips1-3/+3
2010-06-13Merge branch 'rs/grep-binary'Junio C Hamano1-2/+6
2010-06-13grep -O: allow optional argument specifying the pager (or editor)Johannes Schindelin1-14/+12
2010-06-13grep: Add the option '--open-files-in-pager'Johannes Schindelin1-0/+73
2010-06-13Unify code paths of threaded grepsJohannes Schindelin1-17/+5
2010-06-13grep: refactor grep_objects loop into its own functionJonathan Nieder1-10/+20
2010-05-24grep: support NUL chars in search strings for -FRené Scharfe1-2/+6
2010-05-21Merge branch 'np/malloc-threading'Junio C Hamano1-1/+1
2010-04-03Merge branch 'rs/threaded-grep-context'Junio C Hamano1-2/+13
2010-03-20Merge branch 'ml/color-grep'Junio C Hamano1-8/+28
2010-03-15grep: enable threading for context line printingRené Scharfe1-2/+13
2010-03-10Merge branch 'lt/deepen-builtin-source'Junio C Hamano1-0/+1011
2010-02-22Move 'builtin-*' into a 'builtin/' subdirectoryLinus Torvalds1-0/+1010