GitParse Error: failed to parse line "--- /dev/null\n" after state "ModeLine"
#2109
Labels
failed to parse line "--- /dev/null\n" after state "ModeLine"
#2109
Please review the Community Note before submitting
Description
I encountered the following error in the wild:
I don't know the specific repository this belongs to. I will investigate and see what the issue might be.
Edit:
--- /dev/null
after ModeLine suggests that it went directlyModeLine->FromLine
without an IndexLine. This wasn't accounted for in #1486, and hasn't been encountered before as far as I can tell.trufflehog/pkg/gitparse/gitparse.go
Lines 614 to 615 in 737d6b7
The text was updated successfully, but these errors were encountered: