* vc-git.el (vc-git-show-log-entry): Include the revision in the

search string.
This commit is contained in:
Dan Nicolaescu 2008-10-14 07:05:07 +00:00
parent 95d610cb98
commit 07ebab6658
2 changed files with 6 additions and 1 deletions

View 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

View 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)