Documentation fixes by tiennou · Pull Request #3980 · libgit2/libgit2 · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions include/git2/describe.h
6 changes: 3 additions & 3 deletions include/git2/remote.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
*/
GIT_BEGIN_DECL

typedef int (*git_remote_rename_problem_cb)(const char *problematic_refspec, void *payload);

/**
* Add a remote with the default fetch refspec to the repository's configuration.
*
Expand Down Expand Up @@ -360,6 +358,8 @@ typedef struct {
} git_push_update;

/**
* Callback used to inform of upcoming updates.
*
* @param updates an array containing the updates which will be sent
* as commands to the destination.
* @param len number of elements in `updates`
Expand Down Expand Up @@ -403,7 +403,7 @@ struct git_remote_callbacks {
* connection to proceed. Returns 1 to allow the connection, 0
* to disallow it or a negative value to indicate an error.
*/
git_transport_certificate_check_cb certificate_check;
git_transport_certificate_check_cb certificate_check;

/**
* During the download of new data, this will be regularly
Expand Down
9 changes: 9 additions & 0 deletions include/git2/transaction.h