From 83ff652b4df5aeff6a4ab91d0ad2ab7b070c053a Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 20 Aug 1995 23:23:38 +0000 Subject: 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 --- CVSROOT/editinfo | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CVSROOT/editinfo') diff --git a/CVSROOT/editinfo b/CVSROOT/editinfo index 6fdd400..bf43161 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 -- cgit v1.1