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

fix: adds dockerfile check dir to git safe dir list #265

Merged

Conversation

marshallford
Copy link
Contributor

@marshallford marshallford commented Apr 20, 2023

I discovered this issue while "mocking" the git command used to find files in order to troubleshoot the difference between the container image published for 2.4.0 and 2.7.0. As it turns out, a newer version of git (bundled with the container image) now errors on unsafe directories causing ec to check all files in the directory (including those git ignored).

/check # git ls-files --cached --others --modified --exclude-standard
fatal: detected dubious ownership in repository at '/check'
To add an exception for this directory, call:

	git config --global --add safe.directory /check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants