mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 21:44:23 +01:00
removing private opts
This commit is contained in:
1 parent
98e6ba9378
commit
94389137e8
2 files changed
-2
No files matched your search
@@ -68,7 +68,6 @@ Application Options:
|
|||||||
--github-org= Github organization to audit
|
--github-org= Github organization to audit
|
||||||
--github-url= GitHub API Base URL, use for GitHub Enterprise. Example: https://github.example.com/api/v3/ (default: https://api.github.com/)
|
--github-url= GitHub API Base URL, use for GitHub Enterprise. Example: https://github.example.com/api/v3/ (default: https://api.github.com/)
|
||||||
--github-pr= Github PR url to audit. This does not clone the repo. GITHUB_TOKEN must be set
|
--github-pr= Github PR url to audit. This does not clone the repo. GITHUB_TOKEN must be set
|
||||||
-p, --private Include private repos in audit
|
|
||||||
-b, --branch= branch name to audit (defaults to HEAD)
|
-b, --branch= branch name to audit (defaults to HEAD)
|
||||||
-c, --commit= sha of commit to stop at
|
-c, --commit= sha of commit to stop at
|
||||||
--depth= maximum commit depth
|
--depth= maximum commit depth
|
||||||
|
|||||||
@@ -372,7 +372,6 @@ func cloneRepo() (*RepoDescriptor, error) {
|
|||||||
Progress: os.Stdout,
|
Progress: os.Stdout,
|
||||||
Auth: sshAuth,
|
Auth: sshAuth,
|
||||||
})
|
})
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
repo, err = git.PlainClone(cloneTarget, false, &git.CloneOptions{
|
repo, err = git.PlainClone(cloneTarget, false, &git.CloneOptions{
|
||||||
URL: opts.Repo,
|
URL: opts.Repo,
|
||||||
|
|||||||
Reference in new issue
Block a user