File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change 22
22
(require 'cl-lib )
23
23
(require 'vc )
24
24
(require 'vc-git )
25
- (require 'helm-files )
25
+ (require 'helm-files ) ; helm-grep is required in helm-files.
26
26
(require 'helm-types )
27
27
28
28
(defvaralias 'helm-c-source-ls-git 'helm-source-ls-git )
@@ -63,20 +63,10 @@ Valid values are symbol 'abs (default) or 'relative."
63
63
helm-source-ls-git-buffers nil ))
64
64
:type 'boolean )
65
65
66
- (defcustom helm-ls-git-grep-command
67
- " git grep -n%cH --color=always --exclude-standard --no-index --full-name -e %p %f"
68
- " The git grep default command line.
69
- The option \" --color=always\" can be used safely.
70
- The color of matched items can be customized in your .gitconfig
71
- See `helm-grep-default-command' for more infos.
72
-
73
- The \" --exclude-standard\" and \" --no-index\" switches allow
74
- skipping unwanted files specified in ~/.gitignore_global
75
- and searching files not already staged.
76
- You have also to enable this in global \" .gitconfig\" with
77
- \" git config --global core.excludesfile ~/.gitignore_global\" ."
78
- :group 'helm-ls-git
79
- :type 'string )
66
+ ; ; Now the git-grep command is defined in helm-grep.el,
67
+ ; ; alias it for backward compatibility.
68
+ (defvar helm-ls-git-grep-command )
69
+ (defvaralias 'helm-ls-git-grep-command 'helm-grep-git-grep-command )
80
70
81
71
(defcustom helm-ls-git-default-sources '(helm-source-ls-git-status
82
72
helm-source-ls-git-buffers
You can’t perform that action at this time.
0 commit comments