Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Make log command extensible internally (#3888)
Cody Rosec0e66ca24b1d
diff --git a/pkg/gitparse/gitparse.go b/pkg/gitparse/gitparse.goindex 171b760e9..9f5aa417f 100644--- a/pkg/gitparse/gitparse.go+++ b/pkg/gitparse/gitparse.go@@ -228,6 +228,7 @@ func (c *Parser) RepoPath(abbreviatedLog bool,excludedGlobs []string,isBare bool,+ additionalArgs ...string,) (chan *Diff, error) {args := []string{"-C", source,@@ -246,6 +247,7 @@ func (c *Parser) RepoPath(} else {args = append(args, "--all")}+ args = append(args, additionalArgs...) // These need to come before --for _, glob := range excludedGlobs {args = append(args, "--", ".", ":(exclude)"+glob)}