info-cvs
[Top][All Lists]
Advanced

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

Re: help with Commitinfo


From: Larry Jones
Subject: Re: help with Commitinfo
Date: Thu, 13 Feb 2003 18:16:40 -0500 (EST)

Terry Spafford writes:
> 
> Is there a way I can keep the DEFAULT line in the commitinfo (so it will
> beautify all the code) but also set it up so it will ignore the two files
> (which for the sake of example we'll say are in the tree
> product1/include/LG00.h and product2/include/LG01.h )

The commitinfo script is called once for each repository directory
you're committing into.  If those files are the only files in that
directory, you could just add a commitinfo line for that directory that
points to a do-nothing script (e.g., /usr/bin/true).  If not, you could
add a commitinfo line for that directory that points to a scipt that
checks the files being committed and just runs the beautifier on the
other ones.

-Larry Jones

There's never enough time to do all the nothing you want. -- Calvin




reply via email to

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