Fix spelling mistakes in the documentation. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
diff --git a/src/git/commit.h b/src/git/commit.h
index a584273..6b5f98f 100644
--- a/src/git/commit.h
+++ b/src/git/commit.h
@@ -38,7 +38,7 @@ GIT_EXTERN(git_commit *) git_commit_lookup(git_repository *repo, const git_oid *
* repository.
*
* @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);
diff --git a/src/git/common.h b/src/git/common.h
index 672aa55..2385df9 100644
--- a/src/git/common.h
+++ b/src/git/common.h
@@ -98,7 +98,7 @@ typedef struct git_object git_object;
typedef struct git_person {
char name[64]; /**< Full name */
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;
/** @} */
diff --git a/src/git/repository.h b/src/git/repository.h
index a65d479..b47400b 100644
--- a/src/git/repository.h
+++ b/src/git/repository.h
@@ -62,7 +62,7 @@ GIT_EXTERN(git_odb *) git_repository_database(git_repository *repo);
* the given type.
*
* 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
* when the git_object_write() function is called; objects
@@ -118,7 +118,7 @@ const git_oid *git_object_id(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,
* but this method can be used to force freeing one of the
diff --git a/src/git/revwalk.h b/src/git/revwalk.h
index 842503d..87f199e 100644
--- a/src/git/revwalk.h
+++ b/src/git/revwalk.h
@@ -16,7 +16,7 @@ GIT_BEGIN_DECL
/**
* 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.
* This is the default sorting for new walkers.
*/
@@ -54,7 +54,7 @@ typedef struct git_revwalk git_revwalk;
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.
*/
GIT_EXTERN(void) git_revwalk_reset(git_revwalk *walker);
diff --git a/src/git/tag.h b/src/git/tag.h
index cbfb034..686f4cf 100644
--- a/src/git/tag.h
+++ b/src/git/tag.h
@@ -37,7 +37,7 @@ GIT_EXTERN(git_tag *) git_tag_lookup(git_repository *repo, const git_oid *id);
* repository.
*
* @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);
diff --git a/src/git/tree.h b/src/git/tree.h
index ecb8884..1726af2 100644
--- a/src/git/tree.h
+++ b/src/git/tree.h
@@ -40,7 +40,7 @@ GIT_EXTERN(git_tree *) git_tree_lookup(git_repository *repo, const git_oid *id);
* repository.
*
* @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);