diff --git a/README.md b/README.md index cb3eebda..d09df559 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,6 @@ Application Options: --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-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) -c, --commit= sha of commit to stop at --depth= maximum commit depth diff --git a/main.go b/main.go index 92ba028c..c142db23 100644 --- a/main.go +++ b/main.go @@ -372,7 +372,6 @@ func cloneRepo() (*RepoDescriptor, error) { Progress: os.Stdout, Auth: sshAuth, }) - } else { repo, err = git.PlainClone(cloneTarget, false, &git.CloneOptions{ URL: opts.Repo,