Commit 0be7f000a5dd434f2d319250a046e3a82a9e0707

Vicent Marti 2011-05-23T21:04:09

hashtable: Reword errors

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/hashtable.c b/src/hashtable.c
index 1fb633c..b40737d 100644
--- a/src/hashtable.c
+++ b/src/hashtable.c
@@ -248,7 +248,7 @@ int git_hashtable_remove(git_hashtable *self, const void *key)
 		}
 	}
 
-	return git__throw(GIT_ENOTFOUND, "Failed to remove entry. Entry not found");
+	return git__throw(GIT_ENOTFOUND, "Entry not found in hash table");
 }
 
 int git_hashtable_merge(git_hashtable *self, git_hashtable *other)