summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpunkymaniac <punkymaniac@protonmail.ch>2021-05-18 10:51:20 +0200
committerpunkymaniac <punkymaniac@protonmail.ch>2021-06-02 14:44:45 +0200
commit75defb75a81c68b5eaa9601d0d70b803928aa7a4 (patch)
tree14b6895b8927d7776f4430a984b919562541bd48
parent868f4bcb4d3290f4b5320f030fccdf1e7fc8ac8a (diff)
downloadlibgit2-75defb75a81c68b5eaa9601d0d70b803928aa7a4.tar.gz
Add documentation about GIT_OPT_GET_USER_AGENT
-rw-r--r--include/git2/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index 8dd30d506..dee260e05 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -356,6 +356,11 @@ typedef enum {
* >
* > - `ciphers` is the list of ciphers that are eanbled.
*
+ * * opts(GIT_OPT_GET_USER_AGENT, git_buf *out)
+ *
+ * > Get the value of the User-Agent header.
+ * > The User-Agent is written to the `out` buffer.
+ *
* * opts(GIT_OPT_ENABLE_OFS_DELTA, int enabled)
*
* > Enable or disable the use of "offset deltas" when creating packfiles,