You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Git 2.43.0/2.44rc0 work with safe.directory = %(prefix)///nas/share/repo and also safe.directory = //nas/share/repo. The latter case did not work with older version of Git.
When no safe.directory is set, Git 2.43.0/2.44rc0 say:
fatal: detected dubious ownership in repository at '//nas/share/repo'
'//nas/share/repo' is owned by:
VORDEFINIERT/Administratoren (S-1-5-32-544)
but the current user is:
XXX/XXX (S-1-5-21-XXX-XXX-XXX-XXX)
To add an exception for this directory, call:
git config --global --add safe.directory '%(prefix)///nas/share/repo'
What is the recommended way to set safe.directory? Is the latter one a regression?
It would be great if this case (and related cases such as //wsl.localhost/) would explicitly added to the man page of git-config.
The text was updated successfully, but these errors were encountered:
Setup
defaults?
Details
Git 2.43.0/2.44rc0 work with
safe.directory = %(prefix)///nas/share/repo
and alsosafe.directory = //nas/share/repo
. The latter case did not work with older version of Git.When no
safe.directory
is set, Git 2.43.0/2.44rc0 say:What is the recommended way to set
safe.directory
? Is the latter one a regression?It would be great if this case (and related cases such as
//wsl.localhost/
) would explicitly added to the man page of git-config.The text was updated successfully, but these errors were encountered: