diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fileops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileops.c b/src/fileops.c index 01bd0f937..c8f5f92e7 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -104,10 +104,10 @@ int git_futils_open_ro(const char *path) */ h = CreateFileW(buf, GENERIC_READ, - FILE_SHARE_READ | FILE_SHARE_DELETE, + FILE_SHARE_READ, NULL, OPEN_EXISTING, - FILE_FLAG_BACKUP_SEMANTICS, + FILE_ATTRIBUTE_NORMAL, NULL); if (h == INVALID_HANDLE_VALUE) { |