[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 2e3cd39 099/348: Support custom command for counsel-git
From: |
Oleh Krehel |
Subject: |
[elpa] master 2e3cd39 099/348: Support custom command for counsel-git |
Date: |
Sat, 8 Apr 2017 11:03:36 -0400 (EDT) |
branch: master
commit 2e3cd39834cc91db520aeb0cbaaa9db2738c78cf
Author: James Bunton <address@hidden>
Commit: Oleh Krehel <address@hidden>
Support custom command for counsel-git
Fixes #590
---
counsel.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/counsel.el b/counsel.el
index 04fee04..171bfd9 100644
--- a/counsel.el
+++ b/counsel.el
@@ -836,6 +836,9 @@ Describe the selected candidate."
:action #'describe-face)))
;;* Git
;;** `counsel-git'
+(defvar counsel-git-cmd "git ls-files --full-name --"
+ "Command for `counsel-git'.")
+
(defvar counsel--git-dir nil
"Store the base git directory.")
@@ -858,8 +861,7 @@ Describe the selected candidate."
counsel--git-dir))
(let* ((default-directory counsel--git-dir)
(cands (split-string
- (shell-command-to-string
- "git ls-files --full-name --")
+ (shell-command-to-string counsel-git-cmd)
"\n"
t)))
(ivy-read "Find file" cands
- [elpa] master fe32959 066/348: ivy.el (ivy--actionp): Fix lambda being considered a list of actions, (continued)
- [elpa] master fe32959 066/348: ivy.el (ivy--actionp): Fix lambda being considered a list of actions, Oleh Krehel, 2017/04/08
- [elpa] master b3cca57 057/348: Make ivy prompt face overriding modular, Oleh Krehel, 2017/04/08
- [elpa] master 6067454 068/348: Improve readability of imenu candidates, Oleh Krehel, 2017/04/08
- [elpa] master a300514 071/348: counsel.el (hydra-keyboard-quit): Declare function, Oleh Krehel, 2017/04/08
- [elpa] master e54aa18 067/348: Add prefix arg for action functions, Oleh Krehel, 2017/04/08
- [elpa] master 2ee5618 085/348: ivy.el: Add face customizations to ivy-switch-buffer, Oleh Krehel, 2017/04/08
- [elpa] master fe93cc6 084/348: counsel.el (counsel-M-x): Fix interaction with repeat, Oleh Krehel, 2017/04/08
- [elpa] master aaad354 088/348: counsel.el (counsel-find-file): Switch directory with "M-o b", Oleh Krehel, 2017/04/08
- [elpa] master e38b23c 091/348: Make counsel-ag extensible, Oleh Krehel, 2017/04/08
- [elpa] master 4dbd8c3 090/348: counsel.el (counsel-semantic): Fix let paren, Oleh Krehel, 2017/04/08
- [elpa] master 2e3cd39 099/348: Support custom command for counsel-git,
Oleh Krehel <=
- [elpa] master 94e22bf 096/348: counsel.el (counsel-describe-face): New command, Oleh Krehel, 2017/04/08
- [elpa] master a627164 092/348: Mention that ivy-format-function is the variable described, Oleh Krehel, 2017/04/08
- [elpa] master 0d77775 103/348: README.md: Add a FAQ section, Oleh Krehel, 2017/04/08
- [elpa] master 17b59b2 105/348: Documenting how to generate texinfo, Oleh Krehel, 2017/04/08
- [elpa] master ed61b04 016/348: Fix problems introduced by "(ivy--filter): Recompute index after sort", Oleh Krehel, 2017/04/08
- [elpa] master d3c8028 023/348: ivy.el (ivy--sorted-files): Add a safety work-around, Oleh Krehel, 2017/04/08
- [elpa] master 4a2f0d4 026/348: Remove needless code, Oleh Krehel, 2017/04/08
- [elpa] master 12145d7 030/348: ivy.el (ivy-completion-in-region-action): Remove string props, Oleh Krehel, 2017/04/08
- [elpa] master 899c2aa 017/348: doc/ivy.org: Mention "/sudo:", Oleh Krehel, 2017/04/08
- [elpa] master c24a372 006/348: doc/Changelog.org: Fix some CUSTOM_ID, Oleh Krehel, 2017/04/08