On Wed, 23 Apr 2025 13:19:19 GMT, Manuel Hässig <d...@openjdk.org> wrote:
> The script `make/scripts/update_copyright.sh` relies on the path to the > script for git detection, which is fragile or does not work at all or git > worktrees. This PR uses git itself to detect whether the script is running in > a git repository. This has the added benefit that the script can be executed > from anywhere in the repository. This pull request has now been integrated. Changeset: 290d24d1 Author: Manuel Hässig <manuel.has...@oracle.com> Committer: Christian Hagedorn <chaged...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/290d24d16adcef6b9f0f5ac789b125fd7bac66a5 Stats: 13 lines in 1 file changed: 6 ins; 4 del; 3 mod 8355400: Better git detection in update_copyright_year.sh Reviewed-by: erikj, chagedorn ------------- PR: https://git.openjdk.org/jdk/pull/24828