Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
fix new git file plus plus plus bug (#1386)
Zachary Ricec28c70b39934
diff --git a/pkg/gitparse/gitparse.go b/pkg/gitparse/gitparse.goindex 75565626f..2c5990772 100644--- a/pkg/gitparse/gitparse.go+++ b/pkg/gitparse/gitparse.go@@ -388,7 +388,7 @@ func isMinusFileLine(line []byte) bool {// +++ b/internal/addrs/move_endpoint_module.gofunc isPlusFileLine(line []byte) bool {- if len(line) >= 6 && bytes.Equal(line[:3], []byte("+++")) {+ if len(line) >= 6 && bytes.Equal(line[:4], []byte("+++ ")) {return true}return false