Re: git: da5432eda807 - main - Remove $FreeBSD$: alt two-line .c pattern

From: Warner Losh <imp_at_bsdimp.com>
Date: Wed, 16 Aug 2023 18:30:58 UTC
On Wed, Aug 16, 2023, 12:15 PM Jessica Clarke <jrtc27@freebsd.org> wrote:

> On 16 Aug 2023, at 18:57, Warner Losh <imp@FreeBSD.org> wrote:
> >
> > The branch main has been updated by imp:
> >
> > URL:
> https://cgit.FreeBSD.org/src/commit/?id=da5432eda807c4b7232d030d5157d5b417ea4f52
> >
> > commit da5432eda807c4b7232d030d5157d5b417ea4f52
> > Author:     Warner Losh <imp@FreeBSD.org>
> > AuthorDate: 2023-08-16 17:54:48 +0000
> > Commit:     Warner Losh <imp@FreeBSD.org>
> > CommitDate: 2023-08-16 17:54:48 +0000
> >
> >    Remove $FreeBSD$: alt two-line .c pattern
> >
> >    Remove /^\s*__RCSID\("\$FreeBSD\$"\);\n\n/
> > ---
> > sbin/routed/if.c                  | 3 ---
> > sbin/routed/input.c               | 3 ---
> > sbin/routed/main.c                | 2 --
> > sbin/routed/output.c              | 3 ---
> > sbin/routed/parms.c               | 3 ---
> > sbin/routed/radix.c               | 3 ---
> > sbin/routed/rdisc.c               | 3 ---
> > sbin/routed/table.c               | 3 ---
> > sbin/routed/trace.c               | 3 ---
> > usr.bin/getconf/tests/arch_type.c | 2 --
> > usr.bin/procstat/tests/while1.c   | 2 --
> > usr.sbin/mpsutil/mps_cmd.c        | 2 --
> > usr.sbin/mpsutil/mps_debug.c      | 2 --
> > usr.sbin/mpsutil/mps_flash.c      | 2 --
> > usr.sbin/mpsutil/mps_set.c        | 2 --
> > usr.sbin/mpsutil/mps_show.c       | 2 --
> > usr.sbin/mpsutil/mps_slot.c       | 2 --
> > usr.sbin/mpsutil/mpsutil.c        | 2 --
> > usr.sbin/mptutil/mpt_cam.c        | 2 --
> > usr.sbin/mptutil/mpt_cmd.c        | 2 --
> > usr.sbin/mptutil/mpt_config.c     | 2 --
> > usr.sbin/mptutil/mpt_drive.c      | 2 --
> > usr.sbin/mptutil/mpt_evt.c        | 2 --
> > usr.sbin/mptutil/mpt_show.c       | 2 --
> > usr.sbin/mptutil/mpt_volume.c     | 2 --
> > usr.sbin/mptutil/mptutil.c        | 2 --
> > 26 files changed, 60 deletions(-)
> >
> > diff --git a/sbin/routed/if.c b/sbin/routed/if.c
> > index 83d8fe503893..72894942fe05 100644
> > --- a/sbin/routed/if.c
> > +++ b/sbin/routed/if.c
> > @@ -33,9 +33,6 @@
> >
> > #include "defs.h"
> > #include "pathnames.h"
> > -
> > -__RCSID("$FreeBSD$");
> > -
> > struct ifhead ifnet = LIST_HEAD_INITIALIZER(ifnet); /* all interfaces */
> > struct ifhead remote_if = LIST_HEAD_INITIALIZER(remote_if); /* remote
> interfaces */
>
> Alas these diffs aren’t style(9)-compliant.


Fixes welcome. I'm sure there's a hundred errors in the 32k changes I made.
I tried to catch as many as I could...

Warner

>