summaryrefslogtreecommitdiff
path: root/src/diff_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diff_stats.c')
-rw-r--r--src/diff_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_stats.c b/src/diff_stats.c
index 228f6f892..259939844 100644
--- a/src/diff_stats.c
+++ b/src/diff_stats.c
@@ -70,7 +70,7 @@ static int diff_file_stats_full_to_buf(
padding = stats->max_name - strlen(old_path) - strlen(new_path);
- if ((common_dirlen = git_path_common_dirlen(old_path, new_path)) &&
+ if ((common_dirlen = git_fs_path_common_dirlen(old_path, new_path)) &&
common_dirlen <= INT_MAX) {
error = git_str_printf(out, " %.*s{%s"DIFF_RENAME_FILE_SEPARATOR"%s}",
(int) common_dirlen, old_path,