aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vcs/linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/vcs/linux.go')
-rw-r--r--pkg/vcs/linux.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/vcs/linux.go b/pkg/vcs/linux.go
index 1ecad347d..62f73e3b9 100644
--- a/pkg/vcs/linux.go
+++ b/pkg/vcs/linux.go
@@ -184,7 +184,7 @@ func (ctx *linux) Bisect(bad, good string, trace io.Writer, pred func() (BisectR
}
func (ctx *linux) addMaintainers(com *Commit) {
- if len(com.CC) > 3 {
+ if len(com.CC) > 2 {
return
}
list := ctx.getMaintainers(com.Hash, false)
@@ -195,8 +195,10 @@ func (ctx *linux) addMaintainers(com *Commit) {
}
func (ctx *linux) getMaintainers(hash string, blame bool) []string {
+ // See #1441 re --git-min-percent.
args := "git show " + hash + " | " +
- filepath.FromSlash("scripts/get_maintainer.pl") + " --no-n --no-rolestats"
+ filepath.FromSlash("scripts/get_maintainer.pl") +
+ " --no-n --no-rolestats --git-min-percent=20"
if blame {
args += " --git-blame"
}