From 75defb75a81c68b5eaa9601d0d70b803928aa7a4 Mon Sep 17 00:00:00 2001 From: punkymaniac Date: Tue, 18 May 2021 10:51:20 +0200 Subject: [PATCH] Add documentation about GIT_OPT_GET_USER_AGENT --- include/git2/common.h | 5 +++++ 1 file changed, 5 insertions(+) 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,