-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support scanning bare repos #12
Labels
Milestone
Comments
This was referenced Sep 9, 2020
Merged
Just a note, processing --mirror repos seems to work
|
Just to note @sjacoby-godaddy suggestion did not work in my case and this still fails even on mirror repos.
Fatal error
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Currently, attempting to scan a bare git repo, using
--repo_path
, produces an error along the lines of:This is because a bare repo is a wholly different structure from a normal clone, and produces different results from
git
operations. The specific problem causing the error here is this:All of the
X/head
references are not actual valid git revisions, and sotartufo
chokes on them.We should figure out a way to either scan all refs, or only scan actual branches.
The text was updated successfully, but these errors were encountered: