diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-04-23 06:55:29 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-13 09:46:36 +0200 |
commit | a4b6452a6a32ac94c5c616eb4cc9c691d954732e (patch) | |
tree | fc746bdcdaafcff7639d09d211e75258495ae0b5 /src/clone.c | |
parent | 7725499072aaf4d9093c615fee5a65d8477100bc (diff) | |
download | libgit2-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.c | 3 |
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; |