branch: externals/ivy-hydra
commit 43daeb1cd1edbcc00bdfae1d9ddb49b368ebe99f
Author: Hong Xu <[email protected]>
Commit: Hong Xu <[email protected]>

    counsel.el (counsel-git-grep): Set :require-match to t in `ivy-read'
---
 counsel.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/counsel.el b/counsel.el
index 875fdea..1faea89 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1505,6 +1505,7 @@ When CMD is non-nil, prompt for a specific \"git grep\" 
command."
                 :keymap counsel-git-grep-map
                 :action #'counsel-git-grep-action
                 :history 'counsel-git-grep-history
+                :require-match t
                 :caller 'counsel-git-grep))))
 
 (ivy-configure 'counsel-git-grep

Reply via email to