Convert remaining callers of sha1_object_info_extended to object_id
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 27b5fd8a397f5622b32ea6fce6c8e635b2b7d75b..67a04fcd122ffb55e061a41376d85fd0d7cd835b 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -1275,7 +1275,7 @@ extern int has_object_file_with_flags(const struct object_id *oid, int flags);
  */
 extern int has_loose_object_nonlocal(const unsigned char *sha1);
 
-extern void assert_sha1_type(const unsigned char *sha1, enum object_type expect);
+extern void assert_oid_type(const struct object_id *oid, enum object_type expect);
 
 /* Helper to check and "touch" a file */
 extern int check_and_freshen_file(const char *fn, int freshen);