emacs-helm/helm-ls-git

get matches with spacing between terms now not working after latest commits

swwwfactory opened this issue · 2 comments

Hi,

Please allow old behaviour: search terms in unordered list divided by space or let me know how enable old-style search and filtering?

thanks

Please note that version 20141001.2314 works quite.

Here diff:

me@tux ~/.emacs.d/elpa/helm-ls-git-20141001.2314 $ diff /tmp/qqq/elpa/helm-ls-git-20141013.2357/helm-ls-git.el ~/.emacs.d/elpa/helm-ls-git-20141001.2314/helm-ls-git.el
2c2
< ;; Version: 20141013.2357
---
> ;; Version: 20141001.2314
96c96
< (add-to-list 'helm-files-save-history-extra-sources "Git files")
---
> (add-to-list 'helm-file-completion-sources "Git files")
156,165c156,166
<   (format "%s (%s)"
<           name
<           (with-temp-buffer
<             (let ((ret (call-process-shell-command "git symbolic-ref --short HEAD" nil t)))
<               ;; Use sha of HEAD when branch name is missing.
<               (unless (zerop ret)
<                 (erase-buffer)
<                 (call-process-shell-command "git rev-parse --short HEAD" nil t)))
<             (buffer-substring-no-properties (goto-char (point-min))
<                                             (line-end-position)))))
---
>   (let ((refs   (shell-command-to-string "git rev-parse --branches"))
>         (branch (shell-command-to-string
>                  "git rev-parse --abbrev-ref HEAD")))
>     (format "%s (%s)"
>             name
>             (replace-regexp-in-string
>              "\n" ""
>              ;; Check REFS to avoid message error in header
>              ;; when repo is just initialized and there is
>              ;; no branches yet.
>              (if (or (null refs) (string= refs "")) "--" branch)))))

If it possible please allow filtering behaviour as in version 20141001.2314

swwwfactory notifications@github.com writes:

Please allow old behaviour: search terms in unordered list divided by
space or let me know how enable old-style search and filtering?

I have reverted last changes for now.

Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997