]> git.eshelyaron.com Git - emacs.git/commitdiff
* vc-git.el (vc-git-show-log-entry): Include the revision in the
authorDan Nicolaescu <dann@ics.uci.edu>
Tue, 14 Oct 2008 07:05:07 +0000 (07:05 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Tue, 14 Oct 2008 07:05:07 +0000 (07:05 +0000)
search string.

lisp/ChangeLog
lisp/vc-git.el

index 1f9e909b1aa2638da67667e91f334b222f4a029f..21e5953779f6b6753df9d2035ed974b64db979ae 100644 (file)
@@ -1,3 +1,8 @@
+2008-10-14  Eric Hanchrow  <offby1@blarg.net>  (tiny change)
+
+       * vc-git.el (vc-git-show-log-entry): Include the revision in the
+       search string.
+
 2008-10-14  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp.el (tramp-process-one-action): Embed regexp in
index 90d8ee1289a980dca36531aeef1bba31060cae85..aa4b1bb6f16390feb958f71a132e5bf919bc458c 100644 (file)
@@ -492,7 +492,7 @@ REVISION may have the form BRANCH, BRANCH~N,
 or BRANCH^ (where \"^\" can be repeated)."
   (goto-char (point-min))
   (when revision
-    (search-forward "\ncommit" nil t
+    (search-forward (format "\ncommit %s" revision) nil t
                    (cond ((string-match "~\\([0-9]\\)$" revision)
                           (1+ (string-to-number (match-string 1 revision))))
                          ((string-match "\\^+$" revision)