summaryrefslogtreecommitdiff
path: root/src/filebuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/filebuf.c')
-rw-r--r--src/filebuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filebuf.c b/src/filebuf.c
index a71c57a47..73f0a70f4 100644
--- a/src/filebuf.c
+++ b/src/filebuf.c
@@ -192,7 +192,7 @@ int git_filebuf_commit(git_filebuf *file)
gitfo_close(file->fd);
file->fd = -1;
- error = gitfo_move_file(file->path_lock, file->path_original);
+ error = gitfo_mv(file->path_lock, file->path_original);
cleanup:
git_filebuf_cleanup(file);