Skip to content
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

Odd error with pre-commit when updating a project #119

Open
joshuadavidthomas opened this issue Apr 10, 2024 · 2 comments
Open

Odd error with pre-commit when updating a project #119

joshuadavidthomas opened this issue Apr 10, 2024 · 2 comments
Labels
🐛 bug Something isn't working

Comments

@joshuadavidthomas
Copy link
Member

When updating a project using the just copier-update-all command included in the template, there is a cryptic error from pre-commit about not being in a git repo:

An error has occurred: FatalError: git failed. Is it installed, and are you in a Git repository directory?
Check the log at /home/josh/.cache/pre-commit/pre-commit.log
Pre-commit run on all files.

It occurs at the beginning and the end. However, the pre-commit post step still runs, so it's more of an annoyance than anything.

Only happens when updating, not when onboarding an existing project by copying the template.

@joshuadavidthomas joshuadavidthomas added 🐛 bug Something isn't working and removed bug labels May 1, 2024
@joshuadavidthomas
Copy link
Member Author

I actually haven't seen this recently? Wonder what happened.

Give it a few days, I'll keep this open for a little longer just in case.

@joshuadavidthomas
Copy link
Member Author

Popped back up yesterday 😫

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant