File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed
Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ typedef enum {
4444typedef struct git_describe_options {
4545 unsigned int version ;
4646
47- unsigned int max_candidates_tags ; /** default: 10 */
48- unsigned int describe_strategy ; /** default: GIT_DESCRIBE_DEFAULT */
47+ unsigned int max_candidates_tags ; /**< default: 10 */
48+ unsigned int describe_strategy ; /**< default: GIT_DESCRIBE_DEFAULT */
4949 const char * pattern ;
5050 /**
5151 * When calculating the distance from the matching tag or
@@ -105,6 +105,9 @@ typedef struct {
105105
106106GIT_EXTERN (int ) git_describe_init_format_options (git_describe_format_options * opts , unsigned int version );
107107
108+ /**
109+ * A struct that stores the result of a describe operation.
110+ */
108111typedef struct git_describe_result git_describe_result ;
109112
110113/**
Original file line number Diff line number Diff line change 2626 */
2727GIT_BEGIN_DECL
2828
29- typedef int (* git_remote_rename_problem_cb )(const char * problematic_refspec , void * payload );
30-
3129/**
3230 * Add a remote with the default fetch refspec to the repository's configuration.
3331 *
@@ -360,6 +358,8 @@ typedef struct {
360358} git_push_update ;
361359
362360/**
361+ * Callback used to inform of upcoming updates.
362+ *
363363 * @param updates an array containing the updates which will be sent
364364 * as commands to the destination.
365365 * @param len number of elements in `updates`
@@ -403,7 +403,7 @@ struct git_remote_callbacks {
403403 * connection to proceed. Returns 1 to allow the connection, 0
404404 * to disallow it or a negative value to indicate an error.
405405 */
406- git_transport_certificate_check_cb certificate_check ;
406+ git_transport_certificate_check_cb certificate_check ;
407407
408408 /**
409409 * During the download of new data, this will be regularly
Original file line number Diff line number Diff line change 88#define INCLUDE_git_transaction_h__
99
1010#include "common.h"
11+
12+ /**
13+ * @file git2/transaction.h
14+ * @brief Git transactional reference routines
15+ * @defgroup git_transaction Git transactional reference routines
16+ * @ingroup Git
17+ * @{
18+ */
1119GIT_BEGIN_DECL
1220
1321/**
@@ -107,5 +115,6 @@ GIT_EXTERN(int) git_transaction_commit(git_transaction *tx);
107115 */
108116GIT_EXTERN (void ) git_transaction_free (git_transaction * tx );
109117
118+ /** @} */
110119GIT_END_DECL
111120#endif
You can’t perform that action at this time.
0 commit comments