diff options
| author | Ben Straub <bs@github.com> | 2012-11-20 16:02:25 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2012-11-27 13:18:28 -0800 |
| commit | 54b2a37ac7715c74e5b06b76eb2b631987d7b6f8 (patch) | |
| tree | e2f7441735a506de16b411a3c181a76f264c2bab /src/remote.c | |
| parent | eecc80502975df5ef3aa9027d1b8b929cd6181bd (diff) | |
| download | libgit2-54b2a37ac7715c74e5b06b76eb2b631987d7b6f8.tar.gz | |
Clean up config.h
Diffstat (limited to 'src/remote.c')
| -rw-r--r-- | src/remote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote.c b/src/remote.c index 063e5186a..5035588a3 100644 --- a/src/remote.c +++ b/src/remote.c @@ -303,7 +303,7 @@ int git_remote_save(const git_remote *remote) return -1; } } else { - int error = git_config_delete(config, git_buf_cstr(&buf)); + int error = git_config_delete_entry(config, git_buf_cstr(&buf)); if (error == GIT_ENOTFOUND) { error = 0; giterr_clear(); @@ -356,7 +356,7 @@ int git_remote_save(const git_remote *remote) if (git_config_set_string(config, git_buf_cstr(&buf), "--no-tags") < 0) goto on_error; } else if (tagopt) { - if (git_config_delete(config, git_buf_cstr(&buf)) < 0) + if (git_config_delete_entry(config, git_buf_cstr(&buf)) < 0) goto on_error; } |
