From 0037e4919bcb53f7441a18c992d0cc70e8d1d931 Mon Sep 17 00:00:00 2001 From: Benjamin C Meyer Date: Mon, 25 Oct 2010 16:32:16 -0700 Subject: [PATCH] Fix spelling mistakes in the documentation. Signed-off-by: Benjamin C Meyer --- src/git/commit.h | 2 +- src/git/common.h | 2 +- src/git/repository.h | 4 ++-- src/git/revwalk.h | 4 ++-- src/git/tag.h | 2 +- src/git/tree.h | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/git/commit.h b/src/git/commit.h index a584273a1..6b5f98fac 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 672aa5548..2385df9dd 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 a65d4796c..b47400b7d 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 842503dea..87f199e07 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 cbfb034a6..686f4cf67 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 ecb8884b2..1726af2ab 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);