Commit a5d73188 by nulltoken

tree-cache: Fix error message typo

parent 3d523345
...@@ -152,7 +152,7 @@ static int read_tree_internal(git_tree_cache **out, ...@@ -152,7 +152,7 @@ static int read_tree_internal(git_tree_cache **out,
corrupted: corrupted:
git_tree_cache_free(tree); git_tree_cache_free(tree);
giterr_set(GITERR_INDEX, "Corruped TREE extension in index"); giterr_set(GITERR_INDEX, "Corrupted TREE extension in index");
return -1; return -1;
} }
...@@ -164,7 +164,7 @@ int git_tree_cache_read(git_tree_cache **tree, const char *buffer, size_t buffer ...@@ -164,7 +164,7 @@ int git_tree_cache_read(git_tree_cache **tree, const char *buffer, size_t buffer
return -1; return -1;
if (buffer < buffer_end) { if (buffer < buffer_end) {
giterr_set(GITERR_INDEX, "Corruped TREE extension in index (unexpected trailing data)"); giterr_set(GITERR_INDEX, "Corrupted TREE extension in index (unexpected trailing data)");
return -1; 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