commit - ddf1c734917dc112c7e5d7e89b7600ea59ef4d8e
commit + 5a3026e52b5ad2cd63f25d7ffa8e8dfa1a899a8f
blob - dbace0ccd5992225eb6e06b3608667667ff43d3f
blob + 04fbd077b6a362cdf09081d894dd539421e0a5a5
--- include/got_object.h
+++ include/got_object.h
/*
* Attempt to open a commit object in a repository.
- * The provided object must be of type GOT_OBJ_TYPE_COMMIT.
* The caller must dispose of the commit with got_object_commit_close().
*/
const struct got_error *
/*
* Attempt to open a tree object in a repository.
- * The provided object must be of type GOT_OBJ_TYPE_TREE.
* The caller must dispose of the tree with got_object_tree_close().
*/
const struct got_error *
/*
* Attempt to open a blob object in a repository.
- * The provided object must be of type GOT_OBJ_TYPE_BLOB.
* The size_t argument specifies the block size of an associated read buffer.
* The caller must dispose of the blob with got_object_blob_close().
*/
/*
* Attempt to open a tag object in a repository.
- * The provided object must be of type GOT_OBJ_TYPE_TAG.
* The caller must dispose of the tree with got_object_tag_close().
*/
const struct got_error *got_object_open_as_tag(struct got_tag_object **,