meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git:issues:safedirectory [2023/07/17 21:01]
niziak
git:issues:safedirectory [2023/07/17 21:17] (current)
niziak
Line 18: Line 18:
 Current user is not owner of git repository directory (''​.git''​). Current user is not owner of git repository directory (''​.git''​).
  
-2.30.+  * Version ​2.30.5 Contains commit: [[https://​github.com/​git/​git/​commit/​8959555cee7ec045958f9b6dd62e541affb7e7d9|setup_git_directory():​ add an owner check for the top-level directory]],​ See release notes: [[https://​github.com/​git/​git/​blob/​aa9166bcc0ba654fc21f198a30647ec087f733ed/​Documentation/​RelNotes/​2.30.5.txt|2.30.5.txt]] 
-https://​github.com/​git/​git/​commit/​8959555cee7ec045958f9b6dd62e541affb7e7d9+  * More security checks were added with v 2.35.2 [[https://​github.blog/​2022-04-12-git-security-vulnerability-announced/​|Git security vulnerability announced]]
  
  
-GIT version changelog: 
-<​code>​ 
-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/​value pairs has been tweaked 
-      to make it more robust. 
-</​code>​ 
- 
-Related GIT commits: 
-<​code>​ 
-f9dbb64fadf599c588a39d2251bb3f9a2f7d572a ​ 2021-01-12 13:27 +0100 Jeff King config: parse more robust format in GIT_CONFIG_PARAMETERS 
-</​code>​ 
- 
- 
- 
-So old 
- 
-<file c environment.h>​ 
-#define CONFIG_DATA_ENVIRONMENT "​GIT_CONFIG_PARAMETERS"​ 
-#define CONFIG_COUNT_ENVIRONMENT "​GIT_CONFIG_COUNT"​ 
-</​file>​ 
  
 ===== Workaround ===== ===== Workaround =====
Line 76: Line 54:
 </​code>​ </​code>​
 See: [[https://​git-scm.com/​docs/​git-config#​Documentation/​git-config.txt-GITCONFIGVALUEltngt|GIT_CONFIG_VALUE_]] See: [[https://​git-scm.com/​docs/​git-config#​Documentation/​git-config.txt-GITCONFIGVALUEltngt|GIT_CONFIG_VALUE_]]
 +
 +GIT version changelog:
 +<​code>​
 +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/​value pairs has been tweaked
 +      to make it more robust.
 +</​code>​
 +
 +Related GIT commit:
 +<​code>​
 +f9dbb64fadf599c588a39d2251bb3f9a2f7d572a ​ 2021-01-12 13:27 +0100 Jeff King config: parse more robust format in GIT_CONFIG_PARAMETERS
 +</​code>​
  
 ==== Workaround for WSL ==== ==== Workaround for WSL ====