bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#20325: convert "fixes:debbugs:123" in log to (Bug#123) in ChangeLog


From: Dmitry Gutov
Subject: bug#20325: convert "fixes:debbugs:123" in log to (Bug#123) in ChangeLog
Date: Fri, 17 Apr 2015 18:32:03 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0

On 04/17/2015 06:19 PM, Paul Eggert wrote:

Currently, if you put ' (Bug#1234)' in a commit message, Emacs VC (via
.dir-locals.el's setting of log-edit-rewrite-fixes) alters this to
'Fixes: debbugs:1234'.

You put (Bug#1234) into the top-level ChangeLog file. Later, `log-edit-insert-changelog' performs the conversion according to the value of `log-edit-rewrite-fixes'.

Looking at recent commits, it appears that this
is commonly done in practice

Indeed, that's why I mentioned it.

How do you commit changes involving bug numbers?  What Emacs commands do
you use?  (I use vc-dwim, but evidently I'm in the minority.)

I either use the ChangeLog, or type out "Fixes: debbugs:1234" manually.

> Perhaps
the "obvious" information about what keystrokes to use should be put
into CONTRIBUTE,

Already covered, in the "Generating ChangeLog entries" section.

and CONTRIBUTE should recommend "Fixes: debbugs:1234'
instead of its current recommendation 'Fixes: bug#1234'.

I think so, yes.





reply via email to

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