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: Robert Pluim
Subject: Re: git history tracking across renames (and emacs support)
Date: Thu, 12 Jul 2018 22:28:28 +0200

Stefan Monnier <address@hidden> writes:

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

Yes, that works from within a magit diff...

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

...but this doesnʼt. M-! git diff is always possible, but it would be
nice if this could be integrated with the magit diff output, since it
has useful options for specifying which files you want to diff.

Robert



reply via email to

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