* vc-git.el (vc-git-show-log-entry): Include the revision in the
search string.
This commit is contained in:
parent
95d610cb98
commit
07ebab6658
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue