summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2013-05-13 21:57:37 +0200
committernulltoken <emeric.fermas@gmail.com>2013-05-15 22:41:30 +0200
commit1fed6b07f0722c8b4349ff3709a49df3d3c9ae61 (patch)
tree2c1b791be59a061bebab3392575a0b90dc323b23 /include/git2
parentf0ab73720a4e7a9b37c901a27519ea65eafeb8a6 (diff)
downloadlibgit2-1fed6b07f0722c8b4349ff3709a49df3d3c9ae61.tar.gz
Fix trailing whitespaces
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/merge.h8
-rw-r--r--include/git2/pack.h6
-rw-r--r--include/git2/sys/index.h1
-rw-r--r--include/git2/trace.h3
4 files changed, 8 insertions, 10 deletions
diff --git a/include/git2/merge.h b/include/git2/merge.h
index 738d8e028..955840569 100644
--- a/include/git2/merge.h
+++ b/include/git2/merge.h
@@ -33,7 +33,7 @@ typedef enum {
/**
* Automerge options for `git_merge_trees_opts`.
- */
+ */
typedef enum {
GIT_MERGE_AUTOMERGE_NORMAL = 0,
GIT_MERGE_AUTOMERGE_NONE = 1,
@@ -45,10 +45,10 @@ typedef enum {
typedef struct {
unsigned int version;
git_merge_tree_flags flags;
-
+
/** Similarity to consider a file renamed (default 50) */
unsigned int rename_threshold;
-
+
/** Maximum similarity sources to examine (overrides the
* `merge.renameLimit` config) (default 200)
*/
@@ -56,7 +56,7 @@ typedef struct {
/** Pluggable similarity metric; pass NULL to use internal metric */
git_diff_similarity_metric *metric;
-
+
/** Flags for automerging content. */
git_merge_automerge_flags automerge_flags;
} git_merge_tree_opts;
diff --git a/include/git2/pack.h b/include/git2/pack.h
index 118b8d554..5e431e62d 100644
--- a/include/git2/pack.h
+++ b/include/git2/pack.h
@@ -96,12 +96,12 @@ GIT_EXTERN(int) git_packbuilder_insert_tree(git_packbuilder *pb, const git_oid *
/**
* Insert a commit object
- *
+ *
* This will add a commit as well as the completed referenced tree.
- *
+ *
* @param pb The packbuilder
* @param id The oid of the commit
- *
+ *
* @return 0 or an error code
*/
GIT_EXTERN(int) git_packbuilder_insert_commit(git_packbuilder *pb, const git_oid *id);
diff --git a/include/git2/sys/index.h b/include/git2/sys/index.h
index f74637f84..a32e07036 100644
--- a/include/git2/sys/index.h
+++ b/include/git2/sys/index.h
@@ -177,4 +177,3 @@ GIT_EXTERN(void) git_index_reuc_clear(git_index *index);
/** @} */
GIT_END_DECL
#endif
-
diff --git a/include/git2/trace.h b/include/git2/trace.h
index 7409b032d..f9b4d6ff6 100644
--- a/include/git2/trace.h
+++ b/include/git2/trace.h
@@ -32,7 +32,7 @@ typedef enum {
/** Errors that do not impact the program's execution */
GIT_TRACE_ERROR = 2,
-
+
/** Warnings that suggest abnormal data */
GIT_TRACE_WARN = 3,
@@ -65,4 +65,3 @@ GIT_EXTERN(int) git_trace_set(git_trace_level_t level, git_trace_callback cb);
/** @} */
GIT_END_DECL
#endif
-