vendor/libgit2/src/fileops.c in rugged-0.28.4.1 vs vendor/libgit2/src/fileops.c in rugged-0.28.5

- old
+ new

@@ -474,9 +474,10 @@ if (error == 0) { break; } else if (errno != ENOENT) { git_error_set(GIT_ERROR_OS, "failed to stat '%s'", parent_path.ptr); + error = -1; goto done; } depth++;