summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorSören Krecker <soekkle@freenet.de>2024-01-08 18:38:37 +0100
committerJunio C Hamano <gitster@pobox.com>2024-01-10 17:23:30 +0100
commitf755e092e8bf22e7bf3599d59a6a7fa562f6b61b (patch)
treeafd3c47ef7813b0e592fa24e731c40f1ed036894 /.gitattributes
parentGit 2.38.5 (diff)
downloadgit-f755e092e8bf22e7bf3599d59a6a7fa562f6b61b.tar.xz
git-f755e092e8bf22e7bf3599d59a6a7fa562f6b61b.zip
mingw: give more details about unsafe directory's ownership
Add domain/username in error message, if owner sid of repository and user sid are not equal on windows systems. Old error message: ''' fatal: detected dubious ownership in repository at 'C:/Users/test/source/repos/git' 'C:/Users/test/source/repos/git' is owned by: 'S-1-5-21-571067702-4104414259-3379520149-500' but the current user is: 'S-1-5-21-571067702-4104414259-3379520149-1001' To add an exception for this directory, call: git config --global --add safe.directory C:/Users/test/source/repos/git ''' New error message: ''' fatal: detected dubious ownership in repository at 'C:/Users/test/source/repos/git' 'C:/Users/test/source/repos/git' is owned by: DESKTOP-L78JVA6/Administrator (S-1-5-21-571067702-4104414259-3379520149-500) but the current user is: DESKTOP-L78JVA6/test (S-1-5-21-571067702-4104414259-3379520149-1001) To add an exception for this directory, call: git config --global --add safe.directory C:/Users/test/source/repos/git ''' Signed-off-by: Sören Krecker <soekkle@freenet.de> Acked-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions