aboutsummaryrefslogtreecommitdiffstats
path: root/t/t7810-grep.sh
AgeCommit message (Expand)AuthorFilesLines
2023-11-08Merge branch 'jc/test-i18ngrep'Junio C Hamano1-2/+2
2023-11-07Merge branch 'jc/grep-f-relative-to-cwd'Junio C Hamano1-0/+13
2023-11-02tests: teach callers of test_i18ngrep to use test_grepJunio C Hamano1-2/+2
2023-10-20grep: die gracefully when outside repositoryKristoffer Haugsbakk1-0/+27
2023-10-12grep: -f <path> is relative to $cwdJunio C Hamano1-0/+13
2023-02-06tests: don't lose exit status with "test <op> $(git ...)"Ævar Arnfjörð Bjarmason1-1/+3
2022-08-26grep: fix multibyte regex handling under macOSDiomidis Spinellis1-0/+15
2022-06-22grep: add --max-count command line optionCarlos López1-0/+87
2022-02-15grep tests: add missing "grep.patternType" config testsÆvar Arnfjörð Bjarmason1-0/+52
2022-02-15grep tests: create a helper function for "BRE" or "ERE"Ævar Arnfjörð Bjarmason1-80/+54
2021-12-13tests: simplify construction of large blocks of textEric Sunshine1-155/+155
2021-07-13Merge branch 'rs/grep-parser-fix'Junio C Hamano1-0/+9
2021-06-30grep: report missing left operand of --andRené Scharfe1-0/+9
2021-03-18t: annotate !PTHREADS tests with !FAIL_PREREQSJeff King1-1/+2
2021-02-10tests: remove most uses of C_LOCALE_OUTPUTÆvar Arnfjörð Bjarmason1-1/+1
2021-01-25Merge branch 'ab/mailmap'Junio C Hamano1-15/+3
2021-01-12tests: refactor a few tests to use "test_commit --append"Ævar Arnfjörð Bjarmason1-15/+3
2020-11-19t7[5-9]*: adjust the references to the default branch name "main"Johannes Schindelin1-15/+15
2020-11-19tests: mark tests relying on the current default for `init.defaultBranch`Johannes Schindelin1-0/+3
2020-04-20grep: follow conventions for printing paths w/ unusual charsMatheus Tavares1-0/+47
2019-05-14tests: add a special setup where prerequisites failÆvar Arnfjörð Bjarmason1-3/+3
2019-04-02t7810: do not abbreviate `--no-exclude-standard` nor `--invert-match`Johannes Schindelin1-8/+8
2018-10-03grep: add -r/--[no-]recursiveRené Scharfe1-0/+12
2018-08-27Merge branch 'sg/test-must-be-empty'Junio C Hamano1-22/+13
2018-08-21tests: use 'test_must_be_empty' instead of 'test_cmp <empty> <out>'SZEDER Gábor1-20/+11
2018-08-21tests: use 'test_must_be_empty' instead of 'test_cmp /dev/null <out>'SZEDER Gábor1-1/+1
2018-08-21tests: use 'test_must_be_empty' instead of '! test -s'SZEDER Gábor1-1/+1
2018-08-20Merge branch 'ab/test-must-be-empty-for-master'Junio C Hamano1-2/+1
2018-08-02Merge branch 'tb/grep-only-matching'Junio C Hamano1-0/+15
2018-08-02Merge branch 'es/test-fixes'Junio C Hamano1-4/+3
2018-07-30tests: make use of the test_must_be_empty functionÆvar Arnfjörð Bjarmason1-2/+1
2018-07-16t7810: use test_expect_code() instead of hand-rolled comparisonEric Sunshine1-4/+3
2018-07-09grep.c: teach 'git grep --only-matching'Taylor Blau1-0/+15
2018-06-22builtin/grep.c: add '--column' option to 'git-grep(1)'Taylor Blau1-0/+95
2017-12-13Merge branch 'ab/pcre2-grep'Junio C Hamano1-0/+6
2017-11-24grep: fix segfault under -P + PCRE2 <=10.30 + (*NO_JIT)Ævar Arnfjörð Bjarmason1-0/+6
2017-11-21grep: show non-empty lines before functions with -WRené Scharfe1-1/+1
2017-11-21t7810: improve check of -W with user-defined function linesRené Scharfe1-10/+31
2017-08-23Merge branch 'as/grep-quiet-no-match-exit-code-fix'Junio C Hamano1-0/+5
2017-08-17git-grep: correct exit code with --quiet and -LAnthony Sottile1-0/+5
2017-05-26grep: given --threads with NO_PTHREADS=YesPlease, warnÆvar Arnfjörð Bjarmason1-0/+18
2017-05-21grep: add tests for --threads=N and grep.threadsÆvar Arnfjörð Bjarmason1-0/+16
2017-05-21grep: add a test for backreferences in PCRE patternsÆvar Arnfjörð Bjarmason1-0/+7
2017-05-21grep: add a test asserting that --perl-regexp dies when !PCREÆvar Arnfjörð Bjarmason1-0/+12
2017-05-21test-lib: rename the LIBPCRE prerequisite to PCREÆvar Arnfjörð Bjarmason1-14/+14
2017-02-14grep: treat revs the same for --untracked as for --no-indexJeff King1-1/+1
2017-02-14grep: do not diagnose misspelt revs with --no-indexJeff King1-0/+5
2017-02-14grep: avoid resolving revision names in --no-index caseJeff King1-0/+13
2017-02-14grep: fix "--" rev/pathspec disambiguationJeff King1-0/+33
2017-02-14grep: do not unnecessarily query repo for "--"Jonathan Tan1-0/+15
2017-01-23Merge branch 'jk/grep-e-could-be-extended-beyond-posix'Junio C Hamano1-11/+15
2017-01-11t7810: avoid assumption about invalid regex syntaxJeff King1-11/+15
2016-08-11Spelling fixesVille Skyttä1-1/+1
2016-07-13Merge branch 'nd/ita-cleanup'Junio C Hamano1-1/+59
2016-07-06Merge branch 'cb/t7810-test-label-fix'Junio C Hamano1-1/+1
2016-07-01grep: fix grepping for "intent to add" filesCharles Bailey1-0/+58
2016-07-01t7810-grep.sh: fix a whitespace inconsistencyCharles Bailey1-1/+1
2016-07-01t7810-grep.sh: fix duplicated test nameCharles Bailey1-1/+1
2016-06-21t7810: fix duplicated test titleCharles Bailey1-1/+1
2016-06-20Merge branch 'rs/xdiff-hunk-with-func-line'Junio C Hamano1-3/+16
2016-05-31grep: -W: don't extend context to trailing empty linesRené Scharfe1-1/+1
2016-05-31t7810: add test for grep -W and trailing empty context linesRené Scharfe1-3/+16
2016-03-07grep: turn off gitlink detection for --no-indexJeff King1-0/+27
2016-01-12builtin/grep: add grep.fallbackToNoIndex configThomas Gummerer1-0/+41
2016-01-11t7810: correct --no-index testThomas Gummerer1-4/+4
2014-10-31Merge branch 'rs/grep-color-words'Junio C Hamano1-0/+94
2014-10-28grep: add color.grep.matchcontext and color.grep.matchselectedRené Scharfe1-0/+94
2014-06-05t/t7810-grep.sh: remove duplicate test_config()Jeremiah Mahler1-5/+0
2014-03-11grep: support -h (no header) with --countRené Scharfe1-0/+12
2014-03-11t7810: add missing variables to tests in loopRené Scharfe1-29/+29
2012-09-29log --grep-reflog: reject the option without -gJunio C Hamano1-0/+4
2012-09-29revision: add --grep-reflog to filter commits by reflog messagesNguyễn Thái Ngọc Duy1-0/+26
2012-09-29grep: prepare for new header field filterNguyễn Thái Ngọc Duy1-0/+12
2012-09-18Merge branch 'jc/maint-log-grep-all-match'Junio C Hamano1-14/+76
2012-09-15t7810-grep: test --all-match with multiple --grep and --author optionsMichael J Gruber1-0/+20
2012-09-15t7810-grep: test interaction of multiple --grep and --author optionsMichael J Gruber1-16/+22
2012-09-15t7810-grep: test multiple --author with --all-matchMichael J Gruber1-0/+8
2012-09-15t7810-grep: test multiple --grep with and without --all-matchMichael J Gruber1-0/+16
2012-09-15t7810-grep: bring log --grep tests in common formMichael J Gruber1-6/+18
2012-08-27Merge branch 'js/grep-patterntype-config'Junio C Hamano1-0/+181
2012-08-03grep: add a grep.patternType configuration settingJ Smith1-0/+181
2012-07-30Merge branch 'rj/maint-grep-remove-redundant-test'Junio C Hamano1-11/+0
2012-07-29t7810-*.sh: Remove redundant testRamsay Jones1-11/+0
2012-06-01Merge branch 'rs/maint-grep-F' into maintJunio C Hamano1-0/+5
2012-05-25Merge branch 'rs/maint-grep-F'Junio C Hamano1-0/+5
2012-05-20grep: support newline separated pattern listRené Scharfe1-0/+5
2012-02-27grep -P: add tests for matching ^ and $Michał Kiedrowicz1-0/+23
2012-01-23grep: fix -l/-L interaction with decoration linesAlbert Yale1-0/+22
2011-12-12grep: load funcname patterns for -WThomas Rast1-0/+14
2011-10-04Merge branch 'jc/maint-grep-untracked-exclude' into jc/grep-untracked-excludeJunio C Hamano1-1/+33
2011-08-01grep: add option to show whole function as contextRené Scharfe1-0/+14
2011-06-29Merge branch 'rs/grep-color'Junio C Hamano1-0/+95
2011-06-20t7810: avoid unportable use of "echo"Junio C Hamano1-3/+3
2011-06-05grep: add --headingRené Scharfe1-0/+37
2011-06-05grep: add --breakRené Scharfe1-0/+28
2011-06-05grep: fix coloring of hunk marks between filesRené Scharfe1-0/+30
2011-05-29git-grep: Fix problems with recently added testsMichał Kiedrowicz1-32/+26
2011-05-23git-grep: Update tests (mainly for -P)Michał Kiedrowicz1-0/+85
2011-05-16git-grep: update tests now regexp type is "last one wins"Junio C Hamano1-16/+0
2011-05-09git-grep: Bail out when -P is used with -F or -EMichał Kiedrowicz1-0/+16
2011-05-09grep: Add basic testsMichał Kiedrowicz1-0/+38
2011-03-30grep: allow -E and -n to be turned on by default via configurationJoe Ratterman1-1/+23
2011-03-19grep: read patterns from stdin with -f -René Scharfe1-0/+5
2011-02-03t7810: overlapping pathspecs and depth limitNguyễn Thái Ngọc Duy1-0/+18
2010-11-24Merge branch 'en/and-cascade-tests'Junio C Hamano1-2/+2
2010-11-09tests: add missing &&Jonathan Nieder1-2/+2
2010-09-29Merge branch 'jc/grep-header-all-match-fix'Junio C Hamano1-1/+28
2010-09-13log --author: take union of multiple "author" requestsJunio C Hamano1-1/+28
2010-07-20Convert "! git" to "test_must_fail git"Jared Hance1-1/+1
2010-06-30Merge branch 'jn/grep-open'Junio C Hamano1-0/+530
2010-06-13grep: Add the option '--open-files-in-pager'Johannes Schindelin1-0/+530