mirror of
https://git.proxmox.com/git/libgit2
synced 2025-10-17 19:29:53 +00:00
git_libgit2_opts: document GIT_OPT_SET_USER_AGENT
This commit is contained in:
parent
305c4f95ce
commit
5bc93eaea0
@ -245,6 +245,12 @@ typedef enum {
|
||||
*
|
||||
* * opts(GIT_OPT_SET_USER_AGENT, const char *user_agent)
|
||||
*
|
||||
* > Set the value of the User-Agent header. This value will be
|
||||
* > appended to "git/1.0", for compatibility with other git clients.
|
||||
* >
|
||||
* > - `user_agent` is the value that will be delivered as the
|
||||
* > User-Agent header on HTTP requests.
|
||||
*
|
||||
* @param option Option key
|
||||
* @param ... value to set the option
|
||||
* @return 0 on success, <0 on failure
|
||||
|
Loading…
Reference in New Issue
Block a user