Commit 746642a6 by nulltoken

checkout: fix documentation code alignment

parent 35d2e449
...@@ -40,23 +40,25 @@ typedef struct git_checkout_opts { ...@@ -40,23 +40,25 @@ typedef struct git_checkout_opts {
* @param repo repository to check out (must be non-bare) * @param repo repository to check out (must be non-bare)
* @param opts specifies checkout options (may be NULL) * @param opts specifies checkout options (may be NULL)
* @param stats structure through which progress information is reported * @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_EXTERN(int) git_checkout_head(
git_repository *repo,
git_checkout_opts *opts, git_checkout_opts *opts,
git_indexer_stats *stats); git_indexer_stats *stats);
/** /**
* Updates files in the working tree to match a commit pointed to by a ref. * Updates files in the working tree to match a commit pointed to by a ref.
* *
* @param ref reference to follow to a commit * @param ref reference to follow to a commit
* @param opts specifies checkout options (may be NULL) * @param opts specifies checkout options (may be NULL)
* @param stats structure through which progress information is reported * @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_EXTERN(int) git_checkout_reference(
git_reference *ref,
git_checkout_opts *opts, git_checkout_opts *opts,
git_indexer_stats *stats); git_indexer_stats *stats);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment