emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ivy-hydra bfefd69 075/395: counsel.el (counsel-git-occu


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra bfefd69 075/395: counsel.el (counsel-git-occur): Fixup
Date: Thu, 25 Feb 2021 08:31:34 -0500 (EST)

branch: externals/ivy-hydra
commit bfefd695bb2f08a9625c2d5881e4c0686ad86f35
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    counsel.el (counsel-git-occur): Fixup
    
    Re #2366
---
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 25bbc16..473d13e 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1287,7 +1287,7 @@ INITIAL-INPUT can be given as the initial minibuffer 
input."
   (counsel-cmd-to-dired
    (counsel--expand-ls
     (format "%s | %s | xargs ls"
-            counsel-git-cmd
+            (replace-regexp-in-string "\\(-0\\)\\|\\(-z\\)" "" counsel-git-cmd)
             (counsel--file-name-filter)))))
 
 (defvar counsel-dired-listing-switches "-alh"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]