diff options
| author | Vicent Martà <tanoku@gmail.com> | 2011-11-07 12:04:13 -0800 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2011-11-07 12:04:13 -0800 |
| commit | b0b2dd5ecc2d309875e8dcd744fa5ff0a55b8fe5 (patch) | |
| tree | e209c574270b89357a1891ed8ebb275e59db3ec9 /src/filebuf.c | |
| parent | 38068dc1d3cf4a0f0dc2ce8c488a1de4621c04b5 (diff) | |
| parent | 657a3951860f07cf26e2accfe2ada6d62ca5a9f5 (diff) | |
| download | libgit2-b0b2dd5ecc2d309875e8dcd744fa5ff0a55b8fe5.tar.gz | |
Merge pull request #475 from carlosmn/perms
Fix Windows permissions problems
Diffstat (limited to 'src/filebuf.c')
| -rw-r--r-- | src/filebuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filebuf.c b/src/filebuf.c index 1a3fe6d9b..199418032 100644 --- a/src/filebuf.c +++ b/src/filebuf.c @@ -278,7 +278,7 @@ int git_filebuf_commit(git_filebuf *file, mode_t mode) goto cleanup; } - error = git_futils_mv_atomic(file->path_lock, file->path_original); + error = p_rename(file->path_lock, file->path_original); cleanup: git_filebuf_cleanup(file); |
