[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-hydra a6d80c1 003/395: counsel.el (counsel-git-grep
From: |
Basil L. Contovounesios |
Subject: |
[elpa] externals/ivy-hydra a6d80c1 003/395: counsel.el (counsel-git-grep-cmd-default): Do not include --full-name |
Date: |
Thu, 25 Feb 2021 08:31:18 -0500 (EST) |
branch: externals/ivy-hydra
commit a6d80c122a54414887462fdb51786edaccdd15af
Author: Hong Xu <hong@topbug.net>
Commit: Oleh Krehel <ohwoeowho@gmail.com>
counsel.el (counsel-git-grep-cmd-default): Do not include --full-name
* counsel.el (counsel-git-grep-cmd-default): Remove `--full-name'.
This breaks `counsel-cd'. The reason is that `--full-name' always
return the file path relative to ".git", but after switching directory
via `counsel-cd', it should be relative to the new directory.
Fixes #2283
---
counsel.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/counsel.el b/counsel.el
index c6c7480..8e11fd4 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1316,7 +1316,7 @@ INITIAL-INPUT can be given as the initial minibuffer
input."
(define-key map (kbd "C-x C-d") 'counsel-cd)
map))
-(defvar counsel-git-grep-cmd-default "git --no-pager grep --full-name -n
--no-color -i -I -e \"%s\""
+(defvar counsel-git-grep-cmd-default "git --no-pager grep -n --no-color -i -I
-e \"%s\""
"Initial command for `counsel-git-grep'.")
(defvar counsel-git-grep-cmd nil
- [elpa] externals/ivy-hydra 47e5046 027/395: swiper.el (swiper--isearch-function-1): Don't skip match at eobp, (continued)
- [elpa] externals/ivy-hydra 47e5046 027/395: swiper.el (swiper--isearch-function-1): Don't skip match at eobp, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 43daeb1 029/395: counsel.el (counsel-git-grep): Set :require-match to t in `ivy-read', Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra d28cd03 048/395: ivy.el (file-local-name): Define unless already defined, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra e1cfd32 052/395: ivy.el (ivy-use-group-face-if-no-groups): New defcustom, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 4f81b22 006/395: counsel.el (counsel-search-engines-alist): Fix, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 096ff2a 020/395: counsel.el: Fix compiler warning, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 6ed0ad4 032/395: counsel.el (counsel-ag): Set :require-match to t., Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 03fb20e 033/395: ivy.el (ivy-help): Insert "describe-mode" outline, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 66a8b1b 031/395: ivy.el (ivy--reset-state): Bind ivy-recursive-restore to nil, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 76057b1 035/395: ivy-test.el (ivy--split): Add test, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra a6d80c1 003/395: counsel.el (counsel-git-grep-cmd-default): Do not include --full-name,
Basil L. Contovounesios <=
- [elpa] externals/ivy-hydra c6f6f9a 005/395: ivy-overlay.el (ivy-overlay-show-after): Improve available-height calculation, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra c8120fb 016/395: counsel.el (counsel-cd): Add counsel-delete-process, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 1578f52 022/395: ivy.el: Autoload ivy-hydra-read-action, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra f73cd70 023/395: counsel.el (counsel--find-file-matcher): Use counsel-find-file-ignore-regexp, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra d837871 030/395: ivy.el (ivy-thing-at-point): Don't hang when pinging machine, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra aef2538 040/395: ivy-test.el (ivy--split): Add test, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra b603d89 045/395: counsel.el: Fix typos, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra e32f14d 067/395: targets/plain.el (ivy-use-virtual-buffers): Enable, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 529cc08 071/395: ivy-test.el (ivy-swiper-wgrep): Disable on 24.5, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 1b3d0a3 072/395: ivy.el (ivy--split): Fix for "\\" input, Basil L. Contovounesios, 2021/02/25