Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sk/mingw-tests-workaround'
[gitweb.git]
/
object.h
diff --git
a/object.h
b/object.h
index 8020ace566c9c826a907490ac57c4d5aa425c2ae..5e8d8ee5485a5825c4dc0a0bba1911061723e161 100644
(file)
--- a/
object.h
+++ b/
object.h
@@
-81,6
+81,8
@@
struct object *lookup_object(const unsigned char *sha1);
extern void *create_object(const unsigned char *sha1, void *obj);
+void *object_as_type(struct object *obj, enum object_type type, int quiet);
+
/*
* Returns the object, having parsed it to find out what it is.
*