sha1_object_info_extended: make type calculation optional
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index dc99366a2e643a6217d474495611b09cfc6db20f..6882bbe6c3f36f8626ce8b1791d44cc1b99b4e16 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -1099,6 +1099,7 @@ extern int unpack_object_header(struct packed_git *, struct pack_window **, off_
 
 struct object_info {
        /* Request */
+       enum object_type *typep;
        unsigned long *sizep;
        unsigned long *disk_sizep;