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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Avoid re-writing files unnecessarily in src/tools/copyright.pl.
Date: 2022-04-11 15:20:38
Message-ID: E1ndvqI-0002Qu-Al@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-04-11 15:39:57 pgsql: Add color support for new frontend detail/hint messages
Previous Message Robert Haas 2022-04-11 14:55:00 Re: [COMMITTERS] pgsql: Allow time delayed standbys and recovery