Hello,
I'm considering removing SLIME's ChangeLog files. If you have an opinion about that, please make yourself heard over at https://github.com/slime/slime/pull/308.
Cheers,
I apologize for the question tangentially related to this topic:
How can one use Git to enter changes to individual functions?
With changelog in Emacs, with a few keystrokes (C-x 4 a) I easily create an entry for the function being changed, and explain what is being done and why.
What is the equivalent way in Git?
Thanks,
Mirko
On Tue, Mar 22, 2016 at 6:33 PM, Luís Oliveira luismbo@gmail.com wrote:
Hello,
I'm considering removing SLIME's ChangeLog files. If you have an opinion about that, please make yourself heard over at https://github.com/slime/slime/pull/308.
Cheers,
-- Luís Oliveira http://kerno.org/~luis/
On Thu, Mar 24, 2016 at 8:12 PM, Mirko Vukovic mirko.vukovic@gmail.com wrote:
With changelog in Emacs, with a few keystrokes (C-x 4 a) I easily create an entry for the function being changed, and explain what is being done and why.
What is the equivalent way in Git?
You can keep using C-x 4 a, and if you commit using vc-next-action, the ChangeLog entry will be copied over to the commit message. (I think this is recent behavior; you might need a reasonably recent Emacs. 24.5.1 WFM.)
Alternatively, if you use Magit, when commiting, you can use magit-commit-add-log (bound to C) to add ChangeLog-style entries directly into the commit message from the diff buffer that Magit displays next to the commit message buffer.
Cheers,