branch: master
commit 88c19d2cc232ac88d20ae6e536de382382f5cce2
Author: Feng Shu <[email protected]>
Commit: Oleh Krehel <[email protected]>

    counsel-git-log: Ignore blank candidates
    
    Fixes #1122
---
 counsel.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/counsel.el b/counsel.el
index b9b9c8d..383dd16 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1491,6 +1491,7 @@ TREE is the selected candidate."
   "Call the \"git log --grep\" shell command."
   (interactive)
   (let ((counsel-async-split-string-re counsel-git-log-split-string-re)
+        (counsel-async-ignore-re "^[ \n]*$")
         (counsel-yank-pop-truncate-radius 5)
         (ivy-format-function #'counsel--yank-pop-format-function)
         (ivy-height 4))

Reply via email to