diff options
Diffstat (limited to 'examples/network/ls-remote.c')
| -rw-r--r-- | examples/network/ls-remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/ls-remote.c b/examples/network/ls-remote.c index 62131d4ba..d3e3ed053 100644 --- a/examples/network/ls-remote.c +++ b/examples/network/ls-remote.c @@ -21,7 +21,7 @@ static int use_unnamed(git_repository *repo, const char *url) // Create an instance of a remote from the URL. The transport to use // is detected from the URL - error = git_remote_new(&remote, repo, NULL, url, NULL); + error = git_remote_create_inmemory(&remote, repo, NULL, url, NULL); if (error < 0) goto cleanup; |
