summaryrefslogtreecommitdiff
path: root/src/transports/local.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transports/local.c')
-rw-r--r--src/transports/local.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transports/local.c b/src/transports/local.c
index 0656ea592..0983914b1 100644
--- a/src/transports/local.c
+++ b/src/transports/local.c
@@ -10,7 +10,7 @@
#include "pack-objects.h"
#include "refs.h"
#include "posix.h"
-#include "path.h"
+#include "fs_path.h"
#include "repository.h"
#include "odb.h"
#include "push.h"
@@ -226,7 +226,7 @@ static int local_connect(
t->flags = flags;
/* 'url' may be a url or path; convert to a path */
- if ((error = git_path_from_url_or_path(&buf, url)) < 0) {
+ if ((error = git_fs_path_from_url_or_path(&buf, url)) < 0) {
git_str_dispose(&buf);
return error;
}
@@ -352,7 +352,7 @@ static int local_push(
GIT_UNUSED(cbs);
/* 'push->remote->url' may be a url or path; convert to a path */
- if ((error = git_path_from_url_or_path(&buf, push->remote->url)) < 0) {
+ if ((error = git_fs_path_from_url_or_path(&buf, push->remote->url)) < 0) {
git_str_dispose(&buf);
return error;
}