Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
75defb75
Commit
75defb75
authored
May 18, 2021
by
punkymaniac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation about GIT_OPT_GET_USER_AGENT
parent
868f4bcb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
include/git2/common.h
+5
-0
No files found.
include/git2/common.h
View file @
75defb75
...
@@ -356,6 +356,11 @@ typedef enum {
...
@@ -356,6 +356,11 @@ typedef enum {
* >
* >
* > - `ciphers` is the list of ciphers that are eanbled.
* > - `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)
* * opts(GIT_OPT_ENABLE_OFS_DELTA, int enabled)
*
*
* > Enable or disable the use of "offset deltas" when creating packfiles,
* > Enable or disable the use of "offset deltas" when creating packfiles,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment