[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/urgrep 764742fd14 006/115: Recurse submodules with git
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/urgrep 764742fd14 006/115: Recurse submodules with git grep |
|
Date: |
Wed, 10 May 2023 03:00:37 -0400 (EDT) |
branch: externals/urgrep
commit 764742fd1434a7b3e44db178eee6359c1236c911
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>
Recurse submodules with git grep
---
urgrep-test.el | 4 ++--
urgrep.el | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/urgrep-test.el b/urgrep-test.el
index 150e8f1bd5..9307f786bf 100644
--- a/urgrep-test.el
+++ b/urgrep-test.el
@@ -39,10 +39,10 @@
(cl-letf (((symbol-function #'urgrep-get-tool)
(lambda () (assoc "git-grep" urgrep-tools))))
(should (equal (urgrep-command "foo")
- "git -c color.grep.filename\\=magenta grep -n --color
--heading --break foo"))
+ "git -c color.grep.filename\\=magenta grep -n
--recurse-submodules --color --heading --break foo"))
(let ((urgrep-group-matches nil))
(should (equal (urgrep-command "foo")
- "git -c color.grep.filename\\=magenta grep -n --color
foo")))))
+ "git -c color.grep.filename\\=magenta grep -n
--recurse-submodules --color foo")))))
(ert-deftest urgrep-test-command-grep ()
(cl-letf (((symbol-function #'urgrep-get-tool)
diff --git a/urgrep.el b/urgrep.el
index 7b50196b29..5e64bb138a 100644
--- a/urgrep.el
+++ b/urgrep.el
@@ -75,12 +75,11 @@
(always-arguments ("--color-path" "35" "--color-match" "1;31"))
(group-arguments ((t ("--group"))
(nil ("--nogroup")))))
- ;; XXX: Handle submodules for git-grep.
("git-grep"
(executable-name "git")
(vc-backend "Git")
(always-arguments ("-c" "color.grep.filename=magenta" "grep" "-n"
- "--color"))
+ "--recurse-submodules" "--color"))
(group-arguments ((t ("--heading" "--break")))))
("grep"
(executable-name "grep")
- [elpa] branch externals/urgrep created (now 7823d384e6), ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep ccd6fe0d4c 002/115: Add a basic keymap, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 8832dc103f 003/115: Add support for find/grep by delegating to Emacs' built-in `rgrep', ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 133d308eec 004/115: Don't add `-face' to face names, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 4ec9d9febd 010/115: Fix behavior of temporarily overriding `urgrep-search-regexp', ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 7780887977 005/115: Add initial support for git grep, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep d965e6b848 007/115: Add the ability to toggle regexp mode when entering a search, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 764742fd14 006/115: Recurse submodules with git grep,
ELPA Syncer <=
- [elpa] externals/urgrep 6d9217c344 013/115: Rename urgrep-test.el to urgrep-tests.el, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep aba02cc3f9 017/115: Add support for ripgrep and ack, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 53d72fe09c 023/115: Don't cache tool results for hosts which can use VC-specific tools, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 266965a0a2 024/115: Add support for intelligent editing of previous search commands, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 350d6d1889 027/115: Add support for regexp-syntax and context with the grep backend, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 887114113c 001/115: Initial revision, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep b578b0f857 009/115: Add a README and more-detailed docstrings, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 026c54d11e 012/115: Add support for setting context, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep ca67ad1f4d 030/115: Use isearch-like bindings in the urgrep minibuffer, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 8bb469a526 036/115: Add some details about our buffer-local variables, ELPA Syncer, 2023/05/10