summaryrefslogtreecommitdiff
path: root/src/clone.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-04-23 06:55:29 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-05-13 09:46:36 +0200
commita4b6452a6a32ac94c5c616eb4cc9c691d954732e (patch)
treefc746bdcdaafcff7639d09d211e75258495ae0b5 /src/clone.c
parent7725499072aaf4d9093c615fee5a65d8477100bc (diff)
downloadlibgit2-a4b6452a6a32ac94c5c616eb4cc9c691d954732e.tar.gz
remote: remove git_remote_save()
It has now become a no-op, so remove the function and all references to it.
Diffstat (limited to 'src/clone.c')
-rw-r--r--src/clone.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/clone.c b/src/clone.c
index c44cf599f..8b42ce706 100644
--- a/src/clone.c
+++ b/src/clone.c
@@ -279,9 +279,6 @@ static int create_and_configure_origin(
if ((error = remote_create(&origin, repo, "origin", url, payload)) < 0)
goto on_error;
- if ((error = git_remote_save(origin)) < 0)
- goto on_error;
-
*out = origin;
return 0;