summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWill Stamper <epmatsw@gmail.com>2014-12-04 21:06:59 -0600
committerWill Stamper <epmatsw@gmail.com>2014-12-04 21:06:59 -0600
commitb874629b2d5823b7f52055a9784cc2e34cd48efb (patch)
tree6ce8a50295f3de1fc8ca00344b39dc180eb506e8 /include
parent8bfbe6988fe749a4970613db371a214f18fc5c9b (diff)
downloadlibgit2-b874629b2d5823b7f52055a9784cc2e34cd48efb.tar.gz
Spelling fixes
Diffstat (limited to 'include')
-rw-r--r--include/git2/branch.h2
-rw-r--r--include/git2/buffer.h2
-rw-r--r--include/git2/config.h2
-rw-r--r--include/git2/refs.h2
-rw-r--r--include/git2/remote.h2
-rw-r--r--include/git2/submodule.h2
-rw-r--r--include/git2/sys/mempack.h2
-rw-r--r--include/git2/sys/transport.h2
8 files changed, 8 insertions, 8 deletions
diff --git a/include/git2/branch.h b/include/git2/branch.h
index 888781037..43aa20f77 100644
--- a/include/git2/branch.h
+++ b/include/git2/branch.h
@@ -244,7 +244,7 @@ GIT_EXTERN(int) git_branch_is_head(
/**
* Return the name of remote that the remote tracking branch belongs to.
*
- * @param out Pointer to the user-allocated git_buf which will be filled iwth the name of the remote.
+ * @param out Pointer to the user-allocated git_buf which will be filled with the name of the remote.
*
* @param repo The repository where the branch lives.
*
diff --git a/include/git2/buffer.h b/include/git2/buffer.h
index 1c216bf3a..9fc6a5805 100644
--- a/include/git2/buffer.h
+++ b/include/git2/buffer.h
@@ -74,7 +74,7 @@ GIT_EXTERN(void) git_buf_free(git_buf *buffer);
/**
* Resize the buffer allocation to make more space.
*
- * This will attempt to grow the buffer to accomodate the target size.
+ * This will attempt to grow the buffer to accommodate the target size.
*
* If the buffer refers to memory that was not allocated by libgit2 (i.e.
* the `asize` field is zero), then `ptr` will be replaced with a newly
diff --git a/include/git2/config.h b/include/git2/config.h
index a4e20eda8..1fd98b200 100644
--- a/include/git2/config.h
+++ b/include/git2/config.h
@@ -270,7 +270,7 @@ GIT_EXTERN(int) git_config_get_entry(
*
* All config files will be looked into, in the order of their
* defined level. A higher level means a higher priority. The
- * first occurence of the variable will be returned here.
+ * first occurrence of the variable will be returned here.
*
* @param out pointer to the variable where the value should be stored
* @param cfg where to look for the variable
diff --git a/include/git2/refs.h b/include/git2/refs.h
index e5bb15c7c..54a865e8d 100644
--- a/include/git2/refs.h
+++ b/include/git2/refs.h
@@ -58,7 +58,7 @@ GIT_EXTERN(int) git_reference_name_to_id(
* Lookup a reference by DWIMing its short name
*
* Apply the git precendence rules to the given shorthand to determine
- * which reference the user is refering to.
+ * which reference the user is referring to.
*
* @param out pointer in which to store the reference
* @param repo the repository in which to look
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 4aabd94b6..56acf0677 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -593,7 +593,7 @@ GIT_EXTERN(void) git_remote_set_autotag(
*
* @param problems non-default refspecs cannot be renamed and will be
* stored here for further processing by the caller. Always free this
- * strarray on succesful return.
+ * strarray on successful return.
* @param repo the repository in which to rename
* @param name the current name of the reamote
* @param new_name the new name the remote should bear
diff --git a/include/git2/submodule.h b/include/git2/submodule.h
index 616890df6..8efc26e79 100644
--- a/include/git2/submodule.h
+++ b/include/git2/submodule.h
@@ -148,7 +148,7 @@ GIT_EXTERN(void) git_submodule_free(git_submodule *submodule);
* Iterate over all tracked submodules of a repository.
*
* See the note on `git_submodule` above. This iterates over the tracked
- * submodules as decribed therein.
+ * submodules as described therein.
*
* If you are concerned about items in the working directory that look like
* submodules but are not tracked, the diff API will generate a diff record
diff --git a/include/git2/sys/mempack.h b/include/git2/sys/mempack.h
index d3bc87b4d..96074fb77 100644
--- a/include/git2/sys/mempack.h
+++ b/include/git2/sys/mempack.h
@@ -47,7 +47,7 @@ int git_mempack_new(git_odb_backend **out);
* Dump all the queued in-memory writes to a packfile.
*
* The contents of the packfile will be stored in the given buffer.
- * It is the caller's responsability to ensure that the generated
+ * It is the caller's responsibility to ensure that the generated
* packfile is available to the repository (e.g. by writing it
* to disk, or doing something crazy like distributing it across
* several copies of the repository over a network).
diff --git a/include/git2/sys/transport.h b/include/git2/sys/transport.h
index 1e8f4e4ed..b50438ecd 100644
--- a/include/git2/sys/transport.h
+++ b/include/git2/sys/transport.h
@@ -49,7 +49,7 @@ struct git_transport {
/* This function may be called after a successful call to
* connect(). The array returned is owned by the transport and
- * is guranteed until the next call of a transport function. */
+ * is guaranteed until the next call of a transport function. */
int (*ls)(
const git_remote_head ***out,
size_t *size,