[Top][All Lists]

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

Re: git show

From: Juri Linkov
Subject: Re: git show
Date: Sat, 02 Nov 2019 23:33:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>>> 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).

Not convenient, indeed.  So maybe a dedicated command is still needed
after all, unless it's not possible to reuse C-x v l with a prefix key.

reply via email to

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