emacs-devel
[Top][All Lists]
Advanced

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

Re: git show


From: Stephen Berman
Subject: Re: git show
Date: Sat, 02 Nov 2019 20:09:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

On Sat, 02 Nov 2019 20:42:18 +0200 Juri Linkov <address@hidden> wrote:

>> The only vc thing I find myself leaving Emacs for to do is "git show
>> <id>" (when people refer to a specific id in a bug report, for
>> instance).  I've looked through the vc-dir command set, and I can't find
>> anything like that.
>>
>> Is that command missing from vc-dir?
>
> Not missing, it's implemented already by
>
>   C-u M-x vc-log-search RET git log -1 <id> RET

I didn't know about this, but it's not as convenient as being able to
show the commit message (or the whole commit) of the id at point (I
wrote such a command for myself for my local Emacs branches, but I'm not
familiar enough with the internals of VC to integrate it with VC).

Steve Berman



reply via email to

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