[Top][All Lists]

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

Re: vc-git-show-log-entry

From: Dan Nicolaescu
Subject: Re: vc-git-show-log-entry
Date: Mon, 20 Oct 2008 15:10:10 -0700 (PDT)

Karl Chen <address@hidden> writes:

  > >>>>> On 2008-10-20 11:19 PDT, Dan Nicolaescu writes:
  >     Dan> Karl Chen <address@hidden> writes:
  >     >> visiting a git-versioned file, when I do `vc-print-log',
  >     >> point always moves to the end of the buffer instead of the
  >     >> beginning.
  >     Dan> It's hard to say what problem you are trying to report.
  >     Dan> Can you please try again with a step by step description
  >     Dan> of what you are doing, what are the results you are
  >     Dan> getting and what are the expected results. Please start
  >     Dan> from emacs -Q Please use emacs from CVS HEAD.  It's
  >     Dan> unlikely that another release will be made from the 22.x
  >     Dan> branch.
  > git init
  > date > f1 ; git add *; git commit -m commit1
  > date >> f1 ; git add *; git commit -m commit2
  > emacs -Q f1
  > C-x C-v l

I assume this is: C-x v l

  > ; point moves to the end of the *vc-change-log* buffer instead of
  > ; the beginning.

It moves to the beginning for me.  What version of emacs are you using?

  > As I said, if you undo the latest commit to vc-git.el, that fixes
  > it, but I suggest this replacement altogether.
  >     (defun vc-git-show-log-entry (rev)
  >       (log-view-goto-rev (vc-git-rev-parse rev)))      

Not sure if adding yet another git invocation here is a good idea.
Please run your change by Alexandre Julliard.

reply via email to

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