OSDN Git Service

* index-prop: Fix occasional problem when using cvs diff -p
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Apr 2000 00:15:34 +0000 (00:15 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Apr 2000 00:15:34 +0000 (00:15 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33494 138bc75d-0d04-0410-961f-82ee72b054a4

contrib/ChangeLog
contrib/index-prop

index 4321ff2..1957b39 100644 (file)
@@ -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.
index a169b57..285ad8c 100755 (executable)
@@ -14,7 +14,8 @@ while (<>)
       for (1..7)
        {
          $_ = <>;
-         s/ [^\t]+\t/ $full\t/;
+         s/^--- [^\t]+\t/--- $full\t/;
+          s/^\+\+\+ [^\t]+\t/\+\+\+ $full\t/;
          print;
        }
     }