aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index c7975e255..5eb0ae5fd 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -449,12 +449,14 @@ func (ctx *linux) getMaintainers(file string) ([]string, error) {
}
func (ctx *linux) getMaintainersImpl(file string, blame bool) ([]string, error) {
- args := []string{"--no-n", "--no-rolestats"}
+ // See #1441 re --git-min-percent.
+ args := []string{"--no-n", "--no-rolestats", "--git-min-percent=15"}
if blame {
args = append(args, "--git-blame")
}
args = append(args, "-f", file)
- output, err := osutil.RunCmd(time.Minute, ctx.kernelSrc, filepath.FromSlash("scripts/get_maintainer.pl"), args...)
+ script := filepath.FromSlash("scripts/get_maintainer.pl")
+ output, err := osutil.RunCmd(time.Minute, ctx.kernelSrc, script, args...)
if err != nil {
return nil, err
}