Commit a5d73188023cf0ae0b6fc42dfeddce5a9ee8ad5f

nulltoken 2013-11-19T13:16:09

tree-cache: Fix error message typo

diff --git a/src/tree-cache.c b/src/tree-cache.c
index 57cc294..1d39971 100644
--- a/src/tree-cache.c
+++ b/src/tree-cache.c
@@ -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;
 	}