Commit 13b554e3 by Sascha Cunz

Fix error text s/buffer too long/buffer too short/

parent d973a5af
......@@ -430,7 +430,7 @@ int git_repository_discover(
if (size < (size_t)(path.size + 1)) {
giterr_set(GITERR_REPOSITORY,
"The given buffer is too long to store the discovered path");
"The given buffer is too small to store the discovered path");
git_buf_free(&path);
return -1;
}
......
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