From de0a70a835664ad7a8f061563b5e170bee113a69 Mon Sep 17 00:00:00 2001 From: zach rice Date: Tue, 6 Nov 2018 22:27:52 -0600 Subject: [PATCH] changelog --- CHANGELOG.md | 6 ++++++ gitleaks_test.go | 2 +- main.go | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9bce9141..3a32010f 100644 --- a/CHANGELOG.md +++ b/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 diff --git a/gitleaks_test.go b/gitleaks_test.go index aed01f88..bf6b6cf4 100644 --- a/gitleaks_test.go +++ b/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, }, diff --git a/main.go b/main.go index 5132bb75..6aeb171e 100644 --- a/main.go +++ b/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 = `