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: Thu, 12 Jul 2018 16:06:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> I never said it was natural, Iʼm just used to it. If there was a way
> to do hunk-by-hunk commit message accumulation from magit's diffs,
> then I think Iʼd prefer that, since it would allow me to skip the
> 'visit the file/hunk from the diff, C-x 4 a' portion of generating a
> commit message,

You can use `C-x 4 a` from the diff, at least (it will still go to the
ChangeLog rather than the vc-log, tho).

> and would allow me to avoid vc-dir completely. Or a
> magit command I could point at just my staged files to generate the
> ChangeLog entries. (isnʼt this vc-chlog? Iʼve not tried it yet)

Generate the diff and then use `C-x 4 A` from the diff.
It should be fairly easy to combine the two into a single command.


        Stefan




reply via email to

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