git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC PATCH] Implement vc-git-annotate-show-diff-revision-at-line for emacs vc-git

From
AJAlexandre Julliard <julliard@winehq.org>
Date
Feb 22, 2008, 20:17 UTC
Message-ID
<87ejb4kaob.fsf@wine.dyndns.org>
In-Reply-To
<1203706693.7552.56.camel@alexjb-desktop.transitives.com>
Alex Bennee <kernel-hacker@bennee.com> writes:
Show 6 quoted lines
> I've had an initial stab at doing this for jumping to the commit in
> annotate mode. You can manually call it with M-x
> vc-git-annotate-show-diff-revision-at-line and it all works fine.
> However the vc logic wants vc-git-previous-version to exist before it
> will call it directly from the mode. I considered evil key-rebinding
> hacks but that seems to nasty.

vc-git is now maintained in the main Emacs repository, so that's the version you should look at; it does have a vc-git-previous-version implementation. The vc-git.el in the git repository is an older version that is not being updated anymore.

-- 
Alexandre Julliard
julliard@winehq.org
Previous: Alex BenneeNext: Alex Bennee
Message 2 of 5 in “Implement vc-git-annotate-show-diff-revision-at-line for emacs vc-git”
  1. Implement vc-git-annotate-show-diff-revision-at-line for emacs vc-gitAlex Bennee, Feb 22, 2008
  2. Alexandre JulliardFeb 22, 2008
  3. Alex BenneeFeb 23, 2008
  4. Junio C HamanoFeb 22, 2008
  5. Junio C HamanoFeb 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.