meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| git:issues:safedirectory [2023/07/17 21:01] – niziak | git:issues:safedirectory [2025/07/04 13:51] (current) – niziak | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| Current user is not owner of git repository directory ('' | Current user is not owner of git repository directory ('' | ||
| - | 2.30.3 | + | * Version |
| - | https:// | + | * More security checks were added with v 2.35.2 [[https:// |
| - | GIT version changelog: | ||
| - | < | ||
| - | 2.31.0: | ||
| - | Two new ways to feed configuration variable-value pairs via | ||
| - | environment variables have been introduced, and the way | ||
| - | GIT_CONFIG_PARAMETERS encodes variable/ | ||
| - | to make it more robust. | ||
| - | </ | ||
| - | |||
| - | Related GIT commits: | ||
| - | < | ||
| - | f9dbb64fadf599c588a39d2251bb3f9a2f7d572a | ||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | So old | ||
| - | |||
| - | <file c environment.h> | ||
| - | #define CONFIG_DATA_ENVIRONMENT " | ||
| - | #define CONFIG_COUNT_ENVIRONMENT " | ||
| - | </ | ||
| ===== Workaround ===== | ===== Workaround ===== | ||
| Silence all warning (risky!): | Silence all warning (risky!): | ||
| - | <code bash>git config --global --add safe.directory ' | + | <code bash> |
| + | git config --global --replace-all | ||
| + | </ | ||
| NOTE: '' | NOTE: '' | ||
| Line 76: | Line 57: | ||
| </ | </ | ||
| See: [[https:// | See: [[https:// | ||
| + | |||
| + | GIT version changelog: | ||
| + | < | ||
| + | 2.31.0: | ||
| + | Two new ways to feed configuration variable-value pairs via | ||
| + | environment variables have been introduced, and the way | ||
| + | GIT_CONFIG_PARAMETERS encodes variable/ | ||
| + | to make it more robust. | ||
| + | </ | ||
| + | |||
| + | Related GIT commit: | ||
| + | < | ||
| + | f9dbb64fadf599c588a39d2251bb3f9a2f7d572a | ||
| + | </ | ||
| ==== Workaround for WSL ==== | ==== Workaround for WSL ==== | ||