bug-standards
[Top][All Lists]
Advanced

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

Re: Script to generate ChangeLogs automatically


From: Paul Smith
Subject: Re: Script to generate ChangeLogs automatically
Date: Fri, 30 Nov 2018 14:35:39 -0500

On Fri, 2018-11-30 at 13:57 -0500, Alfred M. Szmidt wrote:
> I don't see how "git blame" (which is useful, and available via
> vc-mode) replaces what what a ChangeLog style format provides, it
> won't tell me anything about how functions have moved, been renamed,
> etc.  You'll need go back and forth, up and down keeping track of the
> exact changes made to a file, it will also not work well if you have
> renamed files, or a function being moved between files.

Maybe you just need a better interface?

In magit (in Emacs) I can run its blame mode, then hit return on any
chunk and it shows me, in another buffer, the complete commit including
both the --stat output and full diff, so all changes made as part of
that commit can be seen.  Also if you use "b" on any chunk it will jump
to the previous commit before the one that made that change, so you can
walk the history of just one specific area of code.

The Magit blame mode does annoy me in some ways, mainly with its buffer
handling.

I actually prefer some aspects of vc-annotate in Git mode, which can
also do the above including jumping to the previous commit depending on
the line under point (using "a" this time)... but while vc-annotate
displays the Git commit message, it doesn't display the stat or
complete diff which is a shame.  I haven't looked to see if this could
be added.




reply via email to

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