summaryrefslogtreecommitdiffstats
path: root/CVSROOT
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-08-20 23:23:38 +0000
committerpeter <peter@FreeBSD.org>1995-08-20 23:23:38 +0000
commit83ff652b4df5aeff6a4ab91d0ad2ab7b070c053a (patch)
tree0827347c2e2fd2cbd0c91036cb7ff9ba87328229 /CVSROOT
parent3aeb30e870884e9b6e89aebe123c1b0387e328fe (diff)
downloadFreeBSD-ports-83ff652b4df5aeff6a4ab91d0ad2ab7b070c053a.zip
FreeBSD-ports-83ff652b4df5aeff6a4ab91d0ad2ab7b070c053a.tar.gz
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
Diffstat (limited to 'CVSROOT')
-rw-r--r--CVSROOT/editinfo2
1 files changed, 2 insertions, 0 deletions
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
OpenPOWER on IntegriCloud