diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 4321ff25c31d86adda2f986358256cf9122834b4..1957b3940c0dc1a489a560a6e88df3cffea24eff 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-26  Jonathan Larmour  <jlarmour@redhat.co.uk>
+
+	* index-prop: Fix occasional problem when using cvs diff -p
+
 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
 
 	* gcc_update: Remove references to cexp.c/cexp.y.
diff --git a/contrib/index-prop b/contrib/index-prop
index a169b5726440b572d9a038635a63d3e705759cf1..285ad8c58905cf4491489e59be2ad26438476ef4 100755
--- a/contrib/index-prop
+++ b/contrib/index-prop
@@ -14,7 +14,8 @@ while (<>)
       for (1..7)
 	{
 	  $_ = <>;
-	  s/ [^\t]+\t/ $full\t/;
+	  s/^--- [^\t]+\t/--- $full\t/;
+          s/^\+\+\+ [^\t]+\t/\+\+\+ $full\t/;
 	  print;
 	}
     }