`goheader` linter is extremely slow because of git subprocesses

Author: silverwindCreated Jul 31, 2026Updated Jul 31, 2026
Labelsdependencies

Welcome

How did you install golangci-lint?

go install

Your feature request related to a problem? Please describe

The goheader linter spawns 2 git subprocesses per linted file, leading to extremely slow lint performance. See https://github.com/denis-tingaikin/go-header/issues/70.

Describe the solution you'd like

Add a improved version of goheader into golangci-lint that does not spawn git subprocesses for each file.

Describe alternatives you've considered

Our current workaround is a custom script to replace goheader, but this isn't ideal as it's not part of golangci-lint.

Additional context

No response

Supporter