emacs-devel
[Top][All Lists]
Advanced

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

Re: git history tracking across renames (and emacs support)


From: Stefan Monnier
Subject: Re: git history tracking across renames (and emacs support)
Date: Wed, 03 Jan 2018 17:45:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> I agree.  Frequently, I am looking for recent changes in a particular
> function.  C-s in the ChangeLog is much more convenient than a git blame
> (or several of them in succession) followed by remembering the hash of an
> indicated change (or several of them), followed by a git show (or several
> of them).

Hmm... could it be you haven't tried vc-region-history yet?

Try:

- put the region around the chunk of code of interest.
- hit C-x v h (or M-x vc-region-history if you use Emacs<26).
- enjoy pure bliss.

> Let's please keep these individual function change descriptions in the VC
> log (which will eventually become the ChangeLog).

I tend to agree, but the text after the ":" should focus much more on
the purpose of the change than on the description of the change itself.


        Stefan



reply via email to

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