pgsql: Avoid re-writing files unnecessarily in src/tools/copyright.pl. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Avoid re-writing files unnecessarily in src/tools/copyright.pl.
Date
Msg-id E1ndvqI-0002Qu-Al@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Avoid re-writing files unnecessarily in src/tools/copyright.pl.

The existing coding resulted in touching every copyright-containing
file in the tree, even if it was already up to date.  That doesn't
matter much for the annual run, but it's an annoyance if you try
to use the script for mop-up at the close of a devel cycle, as
I just did.

Discussion: https://postgr.es/m/266030.1649685473@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/dfd0f2bbc5776f261ef4c8ab128469ef9091dcfe

Modified Files
--------------
src/tools/copyright.pl | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: docs: Note the recovery_min_apply_delay bloats pg_wal.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Add color support for new frontend detail/hint messages