+const char *type_names[] = {
+ "none", "blob", "tree", "commit", "bad"
+};
+
+int track_object_refs = 0;
+
+static int hashtable_index(const unsigned char *sha1)
+{
+ unsigned int i;
+ memcpy(&i, sha1, sizeof(unsigned int));
+ return (int)(i % obj_allocs);
+}