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.
When updating a project using the
just copier-update-all
command included in the template, there is a cryptic error frompre-commit
about not being in a git repo: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.