summaryrefslogtreecommitdiff
path: root/src/mailmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailmap.c')
-rw-r--r--src/mailmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailmap.c b/src/mailmap.c
index b69d55e2e..bd571413e 100644
--- a/src/mailmap.c
+++ b/src/mailmap.c
@@ -330,7 +330,7 @@ static int mailmap_add_file_ondisk(
if (error < 0)
goto cleanup;
- error = git_path_validate_workdir_buf(repo, &fullpath);
+ error = git_repository_validate_workdir_path_buf(repo, &fullpath);
if (error < 0)
goto cleanup;