summaryrefslogtreecommitdiff
path: root/include/git2/checkout.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-08-20 12:30:54 +0200
committernulltoken <emeric.fermas@gmail.com>2012-09-06 18:40:08 +0200
commit746642a6b3bb31e6d6adf67298044f9864e1eb42 (patch)
tree08dff11d44d1c86c2969efb464e8e8466bfbce89 /include/git2/checkout.h
parent35d2e449bd6291c97bb8075f5976104c9ad57236 (diff)
downloadlibgit2-746642a6b3bb31e6d6adf67298044f9864e1eb42.tar.gz
checkout: fix documentation code alignment
Diffstat (limited to 'include/git2/checkout.h')
-rw-r--r--include/git2/checkout.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/include/git2/checkout.h b/include/git2/checkout.h
index ac31b3462..deb828722 100644
--- a/include/git2/checkout.h
+++ b/include/git2/checkout.h
@@ -40,13 +40,13 @@ typedef struct git_checkout_opts {
* @param repo repository to check out (must be non-bare)
* @param opts specifies checkout options (may be NULL)
* @param stats structure through which progress information is reported
- * @return 0 on success, GIT_ERROR otherwise (use giterr_last for information about the error)
+ * @return 0 on success, GIT_ERROR otherwise (use giterr_last for information
+ * about the error)
*/
-GIT_EXTERN(int) git_checkout_head(git_repository *repo,
- git_checkout_opts *opts,
- git_indexer_stats *stats);
-
-
+GIT_EXTERN(int) git_checkout_head(
+ git_repository *repo,
+ git_checkout_opts *opts,
+ git_indexer_stats *stats);
/**
* Updates files in the working tree to match a commit pointed to by a ref.
@@ -54,11 +54,13 @@ GIT_EXTERN(int) git_checkout_head(git_repository *repo,
* @param ref reference to follow to a commit
* @param opts specifies checkout options (may be NULL)
* @param stats structure through which progress information is reported
- * @return 0 on success, GIT_ERROR otherwise (use giterr_last for information about the error)
+ * @return 0 on success, GIT_ERROR otherwise (use giterr_last for information
+ * about the error)
*/
-GIT_EXTERN(int) git_checkout_reference(git_reference *ref,
- git_checkout_opts *opts,
- git_indexer_stats *stats);
+GIT_EXTERN(int) git_checkout_reference(
+ git_reference *ref,
+ git_checkout_opts *opts,
+ git_indexer_stats *stats);
/** @} */