Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
07ebab66
Commit
07ebab66
authored
Oct 14, 2008
by
Dan Nicolaescu
Browse files
* vc-git.el (vc-git-show-log-entry): Include the revision in the
search string.
parent
95d610cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/vc-git.el
lisp/vc-git.el
+1
-1
No files found.
lisp/ChangeLog
View file @
07ebab66
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
...
...
lisp/vc-git.el
View file @
07ebab66
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment