mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 00:43:41 +00:00
tree-cache: Fix error message typo
This commit is contained in:
parent
3d5233455b
commit
a5d7318802
@ -152,7 +152,7 @@ static int read_tree_internal(git_tree_cache **out,
|
||||
|
||||
corrupted:
|
||||
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;
|
||||
}
|
||||
|
||||
@ -164,7 +164,7 @@ int git_tree_cache_read(git_tree_cache **tree, const char *buffer, size_t buffer
|
||||
return -1;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user