-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
No reference found on non-empty git history #230
Comments
Hi @CodingJonas, I'll add some additional debug output tonight or tomorrow. After that I'll help with any issues you might have :) |
@CodingJonas What is your git_depth variable setting? |
My guess right now is that it can't get to the commit object here: commitsar/internal/root_runner/run.go Line 51 in a3f6d2d
|
You are right, when I set the |
For now it's a quick fix. I'll look into fixing this. So what GIT_DEPTH does is that it's the amount of full commit objects it will pull. This is useful on big repositories because you prevent pulling in extra data that you won't need. However the current implementation of the diff engine that commitsar uses relies on these full objects. I will try to find a way to either pull or completely skip this step. |
Yes, I set GIT_DEPTH to 0, which defaults to fetch the entire history, so everything is working. Thank you! |
Hey, I'm using the Github action and having this error. Please see my comment and more details at #167 (comment) |
I run this project on the latest version in my gitlab ci pipeline on different branches and experience some weird behaviour:
On some branches it works fine, while on others it throws this error:
There is a git history available:
I'm not too familiar with the code of this project, how can I debug this further?
The text was updated successfully, but these errors were encountered: