t: make the sha1 test-tool helper generic
[gitweb.git] / bulk-checkin.h
index fbd40fc98c955c192a6de698a75b8d56af766f09..f438f93811bfc62aa79a9ba6f9476240100e286f 100644 (file)
@@ -4,7 +4,9 @@
 #ifndef BULK_CHECKIN_H
 #define BULK_CHECKIN_H
 
-extern int index_bulk_checkin(unsigned char sha1[],
+#include "cache.h"
+
+extern int index_bulk_checkin(struct object_id *oid,
                              int fd, size_t size, enum object_type type,
                              const char *path, unsigned flags);