diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 15:20:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-11 15:20:50 -0500 |
| commit | ceddeed80a21f0d3a3396d90dd61fada361ed745 (patch) | |
| tree | 1b21dd455b3fbffcd4d5da52f5e8a58785510dd4 /src/diff_tform.c | |
| parent | 9ab351c0d5330106b5562524cd303cbd5789a1d8 (diff) | |
| parent | 1a8b2922d953e78bd51fc6d5ef290e1f7e00af3a (diff) | |
| download | libgit2-ceddeed80a21f0d3a3396d90dd61fada361ed745.tar.gz | |
Merge pull request #6104 from libgit2/ethomson/path
path: refactor utility path functions
Diffstat (limited to 'src/diff_tform.c')
| -rw-r--r-- | src/diff_tform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff_tform.c b/src/diff_tform.c index be55de6c3..d14134071 100644 --- a/src/diff_tform.c +++ b/src/diff_tform.c @@ -13,7 +13,7 @@ #include "diff.h" #include "diff_generate.h" -#include "path.h" +#include "fs_path.h" #include "futils.h" #include "config.h" @@ -481,7 +481,7 @@ static int similarity_sig( return error; /* if path is not a regular file, just skip this item */ - if (!git_path_isfile(info->data.ptr)) + if (!git_fs_path_isfile(info->data.ptr)) return 0; /* TODO: apply wd-to-odb filters to file data if necessary */ |
