Commit 0037e491 by Benjamin C Meyer

Fix spelling mistakes in the documentation.

Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
parent 544d1519
...@@ -38,7 +38,7 @@ GIT_EXTERN(git_commit *) git_commit_lookup(git_repository *repo, const git_oid * ...@@ -38,7 +38,7 @@ GIT_EXTERN(git_commit *) git_commit_lookup(git_repository *repo, const git_oid *
* repository. * repository.
* *
* @param repo The repository where the object will reside * @param repo The repository where the object will reside
* @return the object if creation was posible; NULL otherwise * @return the object if creation was possible; NULL otherwise
*/ */
GIT_EXTERN(git_commit *) git_commit_new(git_repository *repo); GIT_EXTERN(git_commit *) git_commit_new(git_repository *repo);
......
...@@ -98,7 +98,7 @@ typedef struct git_object git_object; ...@@ -98,7 +98,7 @@ typedef struct git_object git_object;
typedef struct git_person { typedef struct git_person {
char name[64]; /**< Full name */ char name[64]; /**< Full name */
char email[64]; /**< Email address */ char email[64]; /**< Email address */
time_t time; /**< Time when this person commited the change */ time_t time; /**< Time when this person committed the change */
} git_person; } git_person;
/** @} */ /** @} */
......
...@@ -62,7 +62,7 @@ GIT_EXTERN(git_odb *) git_repository_database(git_repository *repo); ...@@ -62,7 +62,7 @@ GIT_EXTERN(git_odb *) git_repository_database(git_repository *repo);
* the given type. * the given type.
* *
* The object's attributes can be filled in using the * The object's attributes can be filled in using the
* correspondign setter methods. * corresponding setter methods.
* *
* The object will be written back to given git_repository * The object will be written back to given git_repository
* when the git_object_write() function is called; objects * when the git_object_write() function is called; objects
...@@ -118,7 +118,7 @@ const git_oid *git_object_id(git_object *obj); ...@@ -118,7 +118,7 @@ const git_oid *git_object_id(git_object *obj);
git_otype git_object_type(git_object *obj); git_otype git_object_type(git_object *obj);
/** /**
* Free a reference to one of the objects in the repostory. * Free a reference to one of the objects in the repository.
* *
* Repository objects are managed automatically by the library, * Repository objects are managed automatically by the library,
* but this method can be used to force freeing one of the * but this method can be used to force freeing one of the
......
...@@ -16,7 +16,7 @@ GIT_BEGIN_DECL ...@@ -16,7 +16,7 @@ GIT_BEGIN_DECL
/** /**
* Sort the repository contents in no particular ordering; * Sort the repository contents in no particular ordering;
* this sorting is arbritary, implementation-specific * this sorting is arbitrary, implementation-specific
* and subject to change at any time. * and subject to change at any time.
* This is the default sorting for new walkers. * This is the default sorting for new walkers.
*/ */
...@@ -54,7 +54,7 @@ typedef struct git_revwalk git_revwalk; ...@@ -54,7 +54,7 @@ typedef struct git_revwalk git_revwalk;
GIT_EXTERN(git_revwalk *) git_revwalk_alloc(git_repository *repo); GIT_EXTERN(git_revwalk *) git_revwalk_alloc(git_repository *repo);
/** /**
* Reset the walking machinary for reuse. * Reset the walking machinery for reuse.
* @param walker handle to reset. * @param walker handle to reset.
*/ */
GIT_EXTERN(void) git_revwalk_reset(git_revwalk *walker); GIT_EXTERN(void) git_revwalk_reset(git_revwalk *walker);
......
...@@ -37,7 +37,7 @@ GIT_EXTERN(git_tag *) git_tag_lookup(git_repository *repo, const git_oid *id); ...@@ -37,7 +37,7 @@ GIT_EXTERN(git_tag *) git_tag_lookup(git_repository *repo, const git_oid *id);
* repository. * repository.
* *
* @param repo The repository where the object will reside * @param repo The repository where the object will reside
* @return the object if creation was posible; NULL otherwise * @return the object if creation was possible; NULL otherwise
*/ */
GIT_EXTERN(git_tag *) git_tag_new(git_repository *repo); GIT_EXTERN(git_tag *) git_tag_new(git_repository *repo);
......
...@@ -40,7 +40,7 @@ GIT_EXTERN(git_tree *) git_tree_lookup(git_repository *repo, const git_oid *id); ...@@ -40,7 +40,7 @@ GIT_EXTERN(git_tree *) git_tree_lookup(git_repository *repo, const git_oid *id);
* repository. * repository.
* *
* @param repo The repository where the object will reside * @param repo The repository where the object will reside
* @return the object if creation was posible; NULL otherwise * @return the object if creation was possible; NULL otherwise
*/ */
GIT_EXTERN(git_tree *) git_tree_new(git_repository *repo); GIT_EXTERN(git_tree *) git_tree_new(git_repository *repo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment