Better git detection in update_copyright_year.sh

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 25
    • Affects Version/s: 25
    • Component/s: infrastructure
    • None
    • b21

      Currently, update_copyright_year.sh detects git by checking for the existence o the .git directory a few directories below its own location.
      This is quite error-prone since it requires the script to find its own location. Also, it does not work in git worktrees.

      Instead, we can just use git itself.

            Assignee:
            Manuel Hässig
            Reporter:
            Manuel Hässig
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: