-
Notifications
You must be signed in to change notification settings - Fork 273
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
Incompatible with git 2.36.0 #2905
Comments
what command are you running and are you running it within a git repository? |
running either |
Hello @tjcutajar , thanks for flagging the issue. I am having a hard time reproducing it. I just upgraded to git 2.36.0 and ran |
@twelvemo maybe try deleting your .garden directory |
We are getting this on Windows as well while trying to set up a new system. My coworker getting the error is using git 2.36.0 and my setup with git 2.35.1 does not show the error. We are running within our git repository.
|
Another coworker encountered this today and found that by going into the .garden\bin\static\kubernetes\system directory and doing a 'git status' he was able to set a permission that allowed garden to work. I believe it's related to the "Stricter repository ownership checks" change in git 2.36: |
Thanks for the investigation @alexkuretz! I figure it's a simple fix, we'll get on it. |
I got around this by running the command git config --add safe.directory C:\git\oemplatform which is the project root for me, this got me running. |
The fix is available in the edge release. |
Bug
upgrading to git 2.36.0 causes garden to error.
Current Behavior
commands raise
Path /Users/myUser/.garden/bin/static/kubernetes/system is not in a git repository root. Garden must be run from within a git repo. Please run 'git init' if you're starting a new project and repository, or move the project to an existing repository, and try again.
Your environment
garden version
0.12.39The text was updated successfully, but these errors were encountered: