diff options
author | peter <peter@FreeBSD.org> | 1995-08-21 07:23:38 +0800 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-08-21 07:23:38 +0800 |
commit | 83ff652b4df5aeff6a4ab91d0ad2ab7b070c053a (patch) | |
tree | 0827347c2e2fd2cbd0c91036cb7ff9ba87328229 | |
parent | 3aeb30e870884e9b6e89aebe123c1b0387e328fe (diff) | |
download | freebsd-ports-gnome-83ff652b4df5aeff6a4ab91d0ad2ab7b070c053a.tar.gz freebsd-ports-gnome-83ff652b4df5aeff6a4ab91d0ad2ab7b070c053a.tar.zst freebsd-ports-gnome-83ff652b4df5aeff6a4ab91d0ad2ab7b070c053a.zip |
Insert hook to call CVSROOT/cvsedit..
This hook is launched by cvs instead of your editor when commiting.
cvsedit runs the editor for you, and does some post-processing on the
file after you quit.. It does the following:
- Remove trailing whitespace
- Collapse multiple blank lines
- Removes empty "Reviewed-by" etc lines, stopping cvs from putting them
into the rcs log.
- Removes leading and trailing blank lines..
- maintains the file timestamps if no changes are made, allowing you to
abort a commit properly.
(Sadly, I didn't have time to get the AI code running that was meant to
check your code for you and find any bugs in your committed code.. :-)
Reviewed by: Rod Grimes
-rw-r--r-- | CVSROOT/editinfo | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CVSROOT/editinfo b/CVSROOT/editinfo index 6fdd400cdb43..bf431611a0f5 100644 --- a/CVSROOT/editinfo +++ b/CVSROOT/editinfo @@ -32,3 +32,5 @@ # # uncomment this to deal with the new edit hook #DEFAULT /home/ncvs/CVSROOT/new_edithook +# peter's edit post-processor.. +DEFAULT /home/ncvs/CVSROOT/cvsedit |