|
From: | Dmitry Gutov |
Subject: | bug#38044: 27.0.50; There should be an easier way to look at a specific vc commit |
Date: | Tue, 19 Nov 2019 13:12:10 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 18.11.2019 23:31, Juri Linkov wrote:
+(defun vc-git-log-search (buffer pattern &optional limit) + (let ((args (if limit + `("log" "--no-color" "-n" "1" ,(or pattern "")) + `("log" "--no-color" "-i" + ,(format "--grep=%s" (or pattern ""))))))
Why would we hardcode that if LIMIT is passed then PATTERN is a revision, not a search string?
Let's please make it another backend command instead of piggy-backing on 'log-search'.
[Prev in Thread] | Current Thread | [Next in Thread] |