cvs commit: ports/net/mpd Makefile ports/net/mpd/files patch-aa
Kris Kennaway
kris at obsecurity.org
Tue Apr 13 15:41:04 PDT 2004
On Tue, Apr 13, 2004 at 05:28:41PM -0500, Archie Cobbs wrote:
> Kris Kennaway wrote:
> > > Log:
> > > Include patch that fixes ports/62477.
> >
> > Commit logs should include a brief description of what the patch does,
> > not just an external reference.
>
> Is there some official policy about this??
>
> One might think that "patch that fixes ports/62477" would
> be the most appropriate way to describe what the patch does...
> it avoids duplicating information described more completely
> and accurately elsewhere, but gives an unabiguous reference
> to that information.
The Committer's Guide says:
Good commit messages are important. They tell others why you did the
changes you did, not just right here and now, but months or years from
now when someone wonders why some seemingly illogical or inefficient
piece of code snuck into your source file. It is also an invaluable
aid to deciding which changes to MFC and which not to MFC.
Commit messages should be clear, concise and provide a reasonable
summary to give an indication of what was changed and why.
Commit messages should provide enough information to enable a third
party to decide if the change is relevant to them and if they need
to read the change itself.
Admittedly, it doesn't come right out and say "don't just give a
reference to an external PR with no other explanation", but the intent
is "they should have a self-contained description of the problem and
solution, and you should use the 'PR:' line in the CVS template to
link to an external PR with more information if necessary". This is
certainly the FreeBSD tradition.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20040413/c7823f11/attachment.bin
More information about the cvs-ports
mailing list