zach rice 7 лет назад
Родитель
Сommit
de0a70a835
3 измененных файлов с 8 добавлено и 2 удалено
  1. 6 0
      CHANGELOG.md
  2. 1 1
      gitleaks_test.go
  3. 1 1
      main.go

+ 6 - 0
CHANGELOG.md

@@ -1,6 +1,12 @@
 CHANGELOG
 =========
 
+1.19.2
+----
+- fixed a bug where gitleaks was skipping the initial commit
+- commit cache now checks curr commit + parent commit hash
+- removed newlines from commit message
+
 1.19.1
 ----
 - mistakenly removed default whitelist files

+ 1 - 1
gitleaks_test.go

@@ -560,7 +560,7 @@ func TestAuditRepo(t *testing.T) {
 		{
 			repo:        leaksRepo,
 			description: "commit depth = 1, one leak",
-			numLeaks:    1,
+			numLeaks:    2,
 			testOpts: Options{
 				Depth: 1,
 			},

+ 1 - 1
main.go

@@ -133,7 +133,7 @@ type entropyRange struct {
 }
 
 const defaultGithubURL = "https://api.github.com/"
-const version = "1.19.1"
+const version = "1.19.2"
 const errExit = 2
 const leakExit = 1
 const defaultConfig = `