-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
The owner check
libgit2/src/libgit2/repository.c
Line 545 in 45fd9ed
static int validate_ownership_cb(const git_config_entry *entry, void *payload) |
git_fs_path_prettify_dir
libgit2/src/libgit2/repository.c
Line 586 in 45fd9ed
if (git_fs_path_prettify_dir(&data->tmp, test_path, NULL) == 0 && |
safe.directory
value in .gitconfig.
Reproduction steps
Have many safe.directory
entries in .gitconfig, potentially several pointing to unavailable UNC-paths such as %(prefix)///192.168.123.123/Foo/bar/repo1
or NFS shares.
libgit2 will contact each of those for path validation.
Version of libgit2 (release number or SHA1)
All since be3a78c
Operating system(s) tested
Windows 10
Metadata
Metadata
Assignees
Labels
No labels