diff options
author | Jameson Miller <jamill@microsoft.com> | 2013-06-04 14:49:39 -0400 |
---|---|---|
committer | Jameson Miller <jamill@microsoft.com> | 2013-06-05 12:05:29 -0400 |
commit | daf98cb2edaa2d8b45c3e88d2d2f4c5db7925b2f (patch) | |
tree | f348dc6f4c2868befeb4272fc8f7db6e4d3eded0 /include/git2/diff.h | |
parent | 9d9fff3c3dbc207a8a2ee2114eab19086afecb6e (diff) | |
download | libgit2-daf98cb2edaa2d8b45c3e88d2d2f4c5db7925b2f.tar.gz |
Allow creation of directories under the volume root in Win32
We ran into an issue where cloning a repository to a folder
directly underneath the root of a volume (e.g. 'd:\libgit2')
would fail with an access denied error. This was traced down
to a call to make a directory that is the root (e.g. 'd:') could
return an error indicated access denied instead of an error
indicating the path already exists. This change now handles
the access denied error on Win32 and checks for the existence
of the folder.
Diffstat (limited to 'include/git2/diff.h')
0 files changed, 0 insertions, 0 deletions