Commit 0b44c065 by nulltoken

repository: add the invalid repository path to the error message

parent 86360ffd
......@@ -169,7 +169,7 @@ int git_repository_open(git_repository **repo_out, const char *path)
if (quickcheck_repository_dir(&path_buf) < GIT_SUCCESS) {
error = git__throw(GIT_ENOTAREPO,
"The given path is not a valid Git repository");
"The given path (%s) is not a valid Git repository", git_buf_cstr(&path_buf));
goto cleanup;
}
......
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