Copypasta in the PostgreSQL source - Mailing list pgsql-hackers

From David Fetter
Subject Copypasta in the PostgreSQL source
Date
Msg-id 20181217173554.GC416@fetter.org
Whole thread Raw
Responses Re: Copypasta in the PostgreSQL source  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Folks,

Please find attached a run of a tool that looks for duplicated tokens.
I've removed some things that seem like false positives, basically all
from the stemmer part of the source, but there's still a lot.

- Is it worth trying to track these down and factor them out?
- Would it make sense to make some kind of git commit trigger that at
  least warns when a new one has been introduced?

Best,
David.
-- 
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Referential Integrity Checks with Statement-level Triggers
Next
From: Pavel Stehule
Date:
Subject: Re: Referential Integrity Checks with Statement-level Triggers