Skip to content

Commit 75defb7

Browse files
committed
Add documentation about GIT_OPT_GET_USER_AGENT
1 parent 868f4bc commit 75defb7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/git2/common.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,11 @@ typedef enum {
356356
* >
357357
* > - `ciphers` is the list of ciphers that are eanbled.
358358
*
359+
* * opts(GIT_OPT_GET_USER_AGENT, git_buf *out)
360+
*
361+
* > Get the value of the User-Agent header.
362+
* > The User-Agent is written to the `out` buffer.
363+
*
359364
* * opts(GIT_OPT_ENABLE_OFS_DELTA, int enabled)
360365
*
361366
* > Enable or disable the use of "offset deltas" when creating packfiles,

0 commit comments

Comments
 (0)