We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 305c4f9 commit 5bc93eaCopy full SHA for 5bc93ea
include/git2/common.h
@@ -245,6 +245,12 @@ typedef enum {
245
*
246
* * opts(GIT_OPT_SET_USER_AGENT, const char *user_agent)
247
248
+ * > Set the value of the User-Agent header. This value will be
249
+ * > appended to "git/1.0", for compatibility with other git clients.
250
+ * >
251
+ * > - `user_agent` is the value that will be delivered as the
252
+ * > User-Agent header on HTTP requests.
253
+ *
254
* @param option Option key
255
* @param ... value to set the option
256
* @return 0 on success, <0 on failure
0 commit comments