diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-10-10 08:05:19 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-10-10 08:14:18 -0400 |
commit | 42bf01860c4ed3a5c15286e711c2287a39661fd8 (patch) | |
tree | e92be1a820261e00787838b76a92b85b77d3f625 /src/ignore.c | |
parent | f898d2d5875213a406735fbe41d2100ff3bcecfd (diff) | |
download | libgit2-ethomson/path_validation.tar.gz |
path: rename `git_path_validate_filesystem`ethomson/path_validation
"filesystem validation" is vague. These functions validate the length,
name them as such.
Diffstat (limited to 'src/ignore.c')
-rw-r--r-- | src/ignore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ignore.c b/src/ignore.c index 4c7e13c68..1c9021c8a 100644 --- a/src/ignore.c +++ b/src/ignore.c @@ -327,7 +327,7 @@ int git_ignore__for_path( git_buf_dispose(&local); } else { if (!(error = git_buf_joinpath(&ignores->dir, path, ""))) - error = git_path_validate_filesystem(ignores->dir.ptr, ignores->dir.size); + error = git_path_validate_length(ignores->dir.ptr, ignores->dir.size); } if (error < 0) |