summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorJameson Miller <jamill@microsoft.com>2013-06-04 14:49:39 -0400
committerJameson Miller <jamill@microsoft.com>2013-06-05 12:05:29 -0400
commitdaf98cb2edaa2d8b45c3e88d2d2f4c5db7925b2f (patch)
treef348dc6f4c2868befeb4272fc8f7db6e4d3eded0 /include/git2/diff.h
parent9d9fff3c3dbc207a8a2ee2114eab19086afecb6e (diff)
downloadlibgit2-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