summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2016-11-01 17:46:57 +0100
committerEtienne Samson <samson.etienne@gmail.com>2016-11-01 17:46:57 +0100
commit788fcdb8e3067bfcd1f860db96cb9d5003680df3 (patch)
treea5068d2eca008c4bd0b32fd62ab9c4533775bd50
parent2adac91008047359b6238237a4795275a40fb6ed (diff)
downloadlibgit2-788fcdb8e3067bfcd1f860db96cb9d5003680df3.tar.gz
remote: fix documentation and indent
-rw-r--r--include/git2/remote.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index c77288b1c..370abf117 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -358,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`
@@ -401,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