[Top][All Lists]

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

Re: diff in commit message (was: Multiple-line log message)

From: Derek R. Price
Subject: Re: diff in commit message (was: Multiple-line log message)
Date: Thu, 26 Oct 2000 10:19:13 -0400

Mike Castle wrote:

> On Tue, Oct 24, 2000 at 08:54:37PM +0200, Gerhard Sittig wrote:
> > Does anyone know a method how to incorporate "cvs diff" into the
> > "cvs commit" message and thus aid the committer with showing what
> > has changed when he is asked to specify what he did and why?
> I would have to say, this is probably the ugliest idea I have ever seen.
> You really want to do this on a regular basis?  Why?  this information can
> ALWAYS be regenerated outside of the log message.

I have to agree with Mike and Richard that your proposal seems to implement
redundant functionality.  I might put diffs in emails (a function there are
scripts out there for already), but CVS will already allow me to view diffs
and log messages so diffs in log messages seems like wasted space and useless

Still, if you really want to try it, I have a patch built on top of my *info
stuff that adds a tmpltfilterinfo file which works like loginfo and the rest
but provides a filter script which accepts the text from rcsinfo on stdin and
spits out the new text for the log message.  It was originally intended to
help integrate CVS with a BTS system but it's not perfect yet - it's still
running on the client and doesn't quite work on NT.  If this were to become
popular I'd want the script execution moved to the server before integration
with the main trunk.


Derek Price                      CVS Solutions Architect ( )
mailto:address@hidden     OpenAvenue ( )
That liberty [is pure] which is to go to all, and not to the few or the rich
                        - Thomas Jefferson to H. Gates, 1798.

reply via email to

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