summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.c2
-rw-r--r--src/config_file.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c
index ed7c947ed..f8ff05056 100644
--- a/src/config.c
+++ b/src/config.c
@@ -171,7 +171,7 @@ int git_config_delete(git_config *cfg, const char *name)
internal = git_vector_get(&cfg->files, 0);
file = internal->file;
- return file->delete(file, name);
+ return file->del(file, name);
}
/**************
diff --git a/src/config_file.c b/src/config_file.c
index afa917a0b..135871950 100644
--- a/src/config_file.c
+++ b/src/config_file.c
@@ -452,7 +452,7 @@ int git_config_file__ondisk(git_config_file **out, const char *path)
backend->parent.open = config_open;
backend->parent.get = config_get;
backend->parent.set = config_set;
- backend->parent.delete = config_delete;
+ backend->parent.del = config_delete;
backend->parent.foreach = file_foreach;
backend->parent.free = backend_free;