emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/vc-git.el,v


From: Dan Nicolaescu
Subject: [Emacs-diffs] Changes to emacs/lisp/vc-git.el,v
Date: Tue, 14 Oct 2008 07:05:35 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Dan Nicolaescu <dann>   08/10/14 07:05:34

Index: vc-git.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/vc-git.el,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -b -r1.72 -r1.73
--- vc-git.el   18 Sep 2008 17:01:43 -0000      1.72
+++ vc-git.el   14 Oct 2008 07:05:31 -0000      1.73
@@ -492,7 +492,7 @@
 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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]