Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2004 20:19:03 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Sam Leffler <sam@errno.com>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/compat/linux linux_socket.c 
Message-ID:  <200407182019.aa26012@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Sun, 18 Jul 2004 09:51:06 PDT." <200407180951.06333.sam@errno.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >   I missed two pieces of the commit to this file. Robert has already
> >   added one, this adds the other.

> Not to pick on this commit, but recently there have been several commits where
> the log msg addressed _why_ the commit was done but never described _what_ 
> was changed.

Since the rational for the commit had been described in the commit
message that I'd intended to make the commit in, I wasn't really
sure what useful I could say. The change was to replace f(blah)
with f(&blah), where blah was a pointer. Admittedly, in the original
commit message, I probably could have explained the changes in more
detail.

> This is not helpful; someone coming along later with only CVS 
> for reference must do a diff to even guess what the change does. Good commit 
> msgs give a reader an understanding of the reason and content of a change.  

Ian Dowse has written a great tool (rcshist) for looking at RCS/CVS
files and getting the diffs inline. I often use it when trying to
diagnose problems or understand bits of code. The source is at:

	http://www.maths.tcd.ie/~iedowse/FreeBSD/rcshist-1.02.tgz

Mind you, that doesn't give me an excuse to write bad commit messages ;-)

	David.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407182019.aa26012>