Unverified Commit 541b8fc5 by Edward Thomson Committed by GitHub

Merge pull request #5302 from tiennou/fix/p_lstat-errno

fileops: correct error return on p_lstat failures when mkdir
parents 01ea911b 0c2b0206
......@@ -476,6 +476,7 @@ int git_futils_mkdir(
break;
} else if (errno != ENOENT) {
git_error_set(GIT_ERROR_OS, "failed to stat '%s'", parent_path.ptr);
error = -1;
goto done;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment