]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Update copyright.py
authorTom Tromey <tromey@adacore.com>
Tue, 1 Apr 2025 18:30:33 +0000 (12:30 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 2 Apr 2025 19:26:48 +0000 (13:26 -0600)
commit67430148a08cdd9fe93533967e6f39ee777b1dc6
treec91e3a676692bcf0615aa8fe600cbbbe32202ccd
parent27c130fbdc9a6633dfbd8d208530f57d2e470709
Update copyright.py

copyright.py needed an addition for unordered_dense.h.

Then, when running it, I saw it complain about some .pyc files I had
in the source tree.  I don't know why I had these, but the script
should ignore them.

For this, Kévin suggested using "git ls-files" to determine which
files to update -- that should automatically exclude any random files
in the tree.  This version of the patch makes this change.

There were complaints about some sim/ppc files that were renamed.
Ignoring the entire directory seems simpler given the comment.

I also made a few more minor changes:

* Removed the 'CVS' exclusion, as this hasn't been relevant in years.

* Moved the 'copying.c' exclusion to EXCLUDE_LIST

* Changed the script to run from the top level (we could have it
  automatically find this if we really wanted).

After this lands, I plan to run it and check in the result.  The patch
may be too large (and certainly too uninteresting) to post, so if/when
this happens I will send a brief note to the list about it.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/copyright.py