workin on tests

This commit is contained in:
zach rice committed 2019-02-06 19:20:52 -06:00
1 parent fa27d32bfe
commit d4925443c8
2 files changed
+10 -6

No files matched your search

+2 -2
View File
@@ -72,7 +72,7 @@ type Options struct {
CommitStop string `long:"commit-stop" description:"sha of commit to stop at"`
Commit string `long:"commit" description:"sha of commit to investigate"`
Depth int `long:"depth" description:"maximum commit depth"`
Depth int64 `long:"depth" description:"maximum commit depth"`
// local target option
RepoPath string `long:"repo-path" description:"Path to repo"`
@@ -509,7 +509,7 @@ func auditGitReference(repo *RepoDescriptor, ref *plumbing.Reference) []Leak {
err error
repoName string
leaks []Leak
commitCount int
commitCount int64
commitWg sync.WaitGroup
mutex = &sync.Mutex{}
semaphore chan bool