diff --git a/contrib/ChangeLog b/contrib/ChangeLog index a1ebf0a5b1f9..7ad347abfc74 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,11 @@ +2000-04-28 Jason Merrill + + * index-prop: Use a single pattern. Also support *** cdiffs. + +2000-04-28 Pavel Roskin + + * index-prop: Don't change /dev/null. + 2000-04-27 Gerald Pfeifer * gcc_update: Refer to GCC and gcc_update instead of egcs and diff --git a/contrib/index-prop b/contrib/index-prop index 285ad8c58905..1ea648989f68 100755 --- a/contrib/index-prop +++ b/contrib/index-prop @@ -14,8 +14,8 @@ while (<>) for (1..7) { $_ = <>; - s/^--- [^\t]+\t/--- $full\t/; - s/^\+\+\+ [^\t]+\t/\+\+\+ $full\t/; + s/^([-+*]{3}) [^\t]+\t/$1 $full\t/ + unless m{ /dev/null\t}; print; } }