branch: externals/urgrep commit 69e45bad3c4a78fa90385469fc5a4b33a90872f5 Author: Jim Porter <jporterb...@gmail.com> Commit: Jim Porter <jporterb...@gmail.com>
Fix unit tests for git-grep --- urgrep-tests.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/urgrep-tests.el b/urgrep-tests.el index 75f2d8c535..e8e1ac17f4 100644 --- a/urgrep-tests.el +++ b/urgrep-tests.el @@ -325,8 +325,8 @@ (ert-deftest urgrep-tests-command-git-grep () (let ((tool (assq 'git-grep urgrep-tools)) (common-args '("git" "--no-pager" "-c" "color.grep.filename=magenta" - "-c" "color.grep.match=bold red" "grep" "--color" "-n" - "--recurse-submodules")) + "-c" "color.grep.match=bold red" "grep" "--color" + "--no-index" "--exclude-standard" "-n")) (group-args '("--heading" "--break"))) ;; String/case (urgrep-test--check-command @@ -389,7 +389,8 @@ (urgrep-test--check-command (urgrep-command "foo" :tool tool :color nil) (append - '("git" "--no-pager" "grep" "--no-color" "-n" "--recurse-submodules") + '("git" "--no-pager" "grep" "--no-color" "--no-index" + "--exclude-standard" "-n") group-args '("-i" "-F" "-e" "foo" "--")))))