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

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

[elpa] master 57e77a5 372/399: counsel.el (counsel-git-log-split-string-


From: Oleh Krehel
Subject: [elpa] master 57e77a5 372/399: counsel.el (counsel-git-log-split-string-re): Change.
Date: Sat, 20 Jul 2019 14:58:01 -0400 (EDT)

branch: master
commit 57e77a5bb1e70c3b81084ff7771aa7c9a493c569
Author: Brian Leung <address@hidden>
Commit: Oleh Krehel <address@hidden>

    counsel.el (counsel-git-log-split-string-re): Change.
    
    Splitting with the newline character fails to chop off the first
    occurrence of "commit".
---
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 3da19b6..a2ccbf1 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1581,7 +1581,7 @@ done") "\n" t)))
 (defvar counsel-git-log-cmd "GIT_PAGER=cat git log --grep '%s'"
   "Command used for \"git log\".")
 
-(defvar counsel-git-log-split-string-re "\ncommit "
+(defvar counsel-git-log-split-string-re "^commit "
   "The `split-string' separates when split output of `counsel-git-log-cmd'.")
 
 (defun counsel-git-log-function (str)



reply via email to

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