Re: RFR: 8355400: Better git detection in update_copyright_year.sh

2025-04-24 Thread Christian Hagedorn
On Wed, 23 Apr 2025 13:19:19 GMT, Manuel Hässig 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 r

Re: RFR: 8355400: Better git detection in update_copyright_year.sh

2025-04-24 Thread duke
On Wed, 23 Apr 2025 13:19:19 GMT, Manuel Hässig 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 r

Re: RFR: 8355400: Better git detection in update_copyright_year.sh

2025-04-23 Thread Erik Joelsson
On Wed, 23 Apr 2025 13:19:19 GMT, Manuel Hässig 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 r