mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 17:20:22 +00:00
Fix spelling mistakes in the documentation.
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
This commit is contained in:
parent
544d15194a
commit
0037e4919b
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
||||
/** @} */
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user