summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill@shutemov.name>2011-06-30 19:52:34 +0300
committerVicent Marti <tanoku@gmail.com>2011-07-01 18:02:56 +0200
commit932d1baf294aaacfd5a99e7758a3c08d8ffc22ab (patch)
treee6714d92345ed9a916d8cd771ab1588333d41998 /include
parent1f4f4d17046e43ca24da9621323d921ae0d0f5dd (diff)
downloadlibgit2-932d1baf294aaacfd5a99e7758a3c08d8ffc22ab.tar.gz
cleanup: remove trailing spaces
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Diffstat (limited to 'include')
-rw-r--r--include/git2/odb.h8
-rw-r--r--include/git2/oid.h2
-rw-r--r--include/git2/refs.h8
-rw-r--r--include/git2/repository.h8
-rw-r--r--include/git2/tag.h2
-rw-r--r--include/git2/tree.h2
-rw-r--r--include/git2/types.h2
7 files changed, 16 insertions, 16 deletions
diff --git a/include/git2/odb.h b/include/git2/odb.h
index 06b9aa5f1..ef16e1e42 100644
--- a/include/git2/odb.h
+++ b/include/git2/odb.h
@@ -91,7 +91,7 @@ GIT_EXTERN(int) git_odb_add_backend(git_odb *odb, git_odb_backend *backend, int
* backend will work as an alternate.
*
* Alternate backends are always checked for objects *after*
- * all the main backends have been exhausted.
+ * all the main backends have been exhausted.
*
* The backends are checked in relative ordering, based on the
* value of the `priority` parameter.
@@ -220,12 +220,12 @@ GIT_EXTERN(int) git_odb_write(git_oid *oid, git_odb *odb, const void *data, size
*
* The returned stream will be of type `GIT_STREAM_WRONLY` and
* will have the following methods:
- *
+ *
* - stream->write: write `n` bytes into the stream
* - stream->finalize_write: close the stream and store the object in
* the odb
* - stream->free: free the stream
- *
+ *
* The streaming write won't be effective until `stream->finalize_write`
* is called and returns without an error
*
@@ -252,7 +252,7 @@ GIT_EXTERN(int) git_odb_open_wstream(git_odb_stream **stream, git_odb *db, size_
*
* The returned stream will be of type `GIT_STREAM_RDONLY` and
* will have the following methods:
- *
+ *
* - stream->read: read `n` bytes from the stream
* - stream->free: free the stream
*
diff --git a/include/git2/oid.h b/include/git2/oid.h
index 46d0dce0d..96f8649f0 100644
--- a/include/git2/oid.h
+++ b/include/git2/oid.h
@@ -215,7 +215,7 @@ int git_oid_shorten_add(git_oid_shorten *os, const char *text_oid);
/**
* Free an OID shortener instance
- *
+ *
* @param os a `git_oid_shorten` instance
*/
void git_oid_shorten_free(git_oid_shorten *os);
diff --git a/include/git2/refs.h b/include/git2/refs.h
index 9cefca780..ff2bc9d87 100644
--- a/include/git2/refs.h
+++ b/include/git2/refs.h
@@ -95,7 +95,7 @@ GIT_EXTERN(int) git_reference_create_oid(git_reference **ref_out, git_repository
/**
* Get the OID pointed to by a reference.
- *
+ *
* Only available if the reference is direct (i.e. not symbolic)
*
* @param ref The reference
@@ -105,7 +105,7 @@ GIT_EXTERN(const git_oid *) git_reference_oid(git_reference *ref);
/**
* Get full name to the reference pointed by this reference
- *
+ *
* Only available if the reference is symbolic
*
* @param ref The reference
@@ -132,7 +132,7 @@ GIT_EXTERN(git_rtype) git_reference_type(git_reference *ref);
GIT_EXTERN(const char *) git_reference_name(git_reference *ref);
/**
- * Resolve a symbolic reference
+ * Resolve a symbolic reference
*
* Thie method iteratively peels a symbolic reference
* until it resolves to a direct reference to an OID.
@@ -212,7 +212,7 @@ GIT_EXTERN(int) git_reference_delete(git_reference *ref);
* Pack all the loose references in the repository
*
* This method will load into the cache all the loose
- * references on the repository and update the
+ * references on the repository and update the
* `packed-refs` file with them.
*
* Once the `packed-refs` file has been written properly,
diff --git a/include/git2/repository.h b/include/git2/repository.h
index 3b2b9dc04..4088ff7f9 100644
--- a/include/git2/repository.h
+++ b/include/git2/repository.h
@@ -71,7 +71,7 @@ GIT_EXTERN(int) git_repository_open(git_repository **repository, const char *pat
*
* @param git_dir The full path to the repository folder
* e.g. a '.git' folder for live repos, any folder for bare
- * Equivalent to $GIT_DIR.
+ * Equivalent to $GIT_DIR.
* Cannot be NULL.
*
* @param git_object_directory The full path to the ODB folder.
@@ -105,7 +105,7 @@ GIT_EXTERN(int) git_repository_open2(git_repository **repository,
*
* @param git_dir The full path to the repository folder
* e.g. a '.git' folder for live repos, any folder for bare
- * Equivalent to $GIT_DIR.
+ * Equivalent to $GIT_DIR.
* Cannot be NULL.
*
* @param object_database A pointer to a git_odb created & initialized
@@ -210,8 +210,8 @@ GIT_EXTERN(void) git_repository_free(git_repository *repo);
*
* @param repo_out pointer to the repo which will be created or reinitialized
* @param path the path to the repository
- * @param is_bare if true, a Git repository without a working directory is created
- * at the pointed path. If false, provided path will be considered as the working
+ * @param is_bare if true, a Git repository without a working directory is created
+ * at the pointed path. If false, provided path will be considered as the working
* directory into which the .git directory will be created.
*
* @return 0 on success; error code otherwise
diff --git a/include/git2/tag.h b/include/git2/tag.h
index 11eac90e3..15635cce2 100644
--- a/include/git2/tag.h
+++ b/include/git2/tag.h
@@ -163,7 +163,7 @@ GIT_EXTERN(const char *) git_tag_message(git_tag *tag);
* @param repo Repository where to store the tag
*
* @param tag_name Name for the tag; this name is validated
- * for consistency. It should also not conflict with an
+ * for consistency. It should also not conflict with an
* already existing tag name
*
* @param target Object to which this tag points. This object
diff --git a/include/git2/tree.h b/include/git2/tree.h
index 80b90604f..5656f48f3 100644
--- a/include/git2/tree.h
+++ b/include/git2/tree.h
@@ -190,7 +190,7 @@ GIT_EXTERN(int) git_tree_create_fromindex(git_oid *oid, git_index *index);
*
* If the `source` parameter is not NULL, the tree builder
* will be initialized with the entries of the given tree.
- *
+ *
* If the `source` parameter is NULL, the tree builder will
* have no entries and will have to be filled manually.
*
diff --git a/include/git2/types.h b/include/git2/types.h
index 499ba98ad..85cf4ef78 100644
--- a/include/git2/types.h
+++ b/include/git2/types.h
@@ -66,7 +66,7 @@ typedef __haiku_std_int64 git_time_t;
#else /* POSIX */
-/*
+/*
* Note: Can't use off_t since if a client program includes <sys/types.h>
* before us (directly or indirectly), they'll get 32 bit off_t in their client
* app, even though /we/ define _FILE_OFFSET_BITS=64.