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
7ebf099d
Commit
7ebf099d
authored
Nov 15, 2016
by
Carlos Martín Nieto
Committed by
GitHub
Nov 15, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4004 from libgit2/cmn/changelog
CHANGELOG: fill in some updates we missed
parents
1d683c1d
06de4e75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
2 deletions
+63
-2
CHANGELOG.md
+63
-2
No files found.
CHANGELOG.md
View file @
7ebf099d
...
@@ -17,14 +17,37 @@ v0.24 + 1
...
@@ -17,14 +17,37 @@ v0.24 + 1
*
Improve the performance of the revwalk and bring us closer to git's code.
*
Improve the performance of the revwalk and bring us closer to git's code.
*
The reference db has improved support for concurrency and returns
`GIT_ELOCKED`
when an operation could not be performed due to locking.
*
Nanosecond resolution is now activated by default, following git's change to
do this.
*
We now restrict the set of ciphers we let OpenSSL use by default.
*
Users can now register their own merge drivers for use with
`.gitattributes`
.
The library also gained built-in support for the union merge driver.
*
The default for creating references is now to validate that the object does
exist.
*
Add
`git_proxy_options`
which is used by the different networking
implementations to let the caller specify the proxy settings instead of
relying on the environment variables.
### API additions
### API additions
*
You can now get the user-agent used by libgit2 using the
*
You can now get the user-agent used by libgit2 using the
`GIT_OPT_GET_USER_AGENT`
option with
`git_libgit2_opts()`
.
`GIT_OPT_GET_USER_AGENT`
option with
`git_libgit2_opts()`
.
It is the counterpart to
`GIT_OPT_SET_USER_AGENT`
.
It is the counterpart to
`GIT_OPT_SET_USER_AGENT`
.
*
The
`GIT_OPT_SET_SSL_CIPHERS`
option for
`git_libgit2_opts()`
lets you specify
a custom list of ciphers to use for OpenSSL.
*
`git_commit_create_buffer()`
creates a commit and writes it into a
*
`git_commit_create_buffer()`
creates a commit and writes it into a
user-provided buffer instead of writing it into the object db.
user-provided buffer instead of writing it into the object db. Combine it with
`git_commit_create_with_signature()`
in order to create a commit with a
cryptographic signature.
*
`git_blob_create_fromstream()`
and
*
`git_blob_create_fromstream()`
and
`git_blob_create_fromstream_commit()`
allow you to create a blob by
`git_blob_create_fromstream_commit()`
allow you to create a blob by
...
@@ -50,12 +73,48 @@ v0.24 + 1
...
@@ -50,12 +73,48 @@ v0.24 + 1
`git_repository_open_ext` with this flag will error out if either
`git_repository_open_ext` with this flag will error out if either
`$GIT_WORK_TREE` or `$GIT_COMMON_DIR` is set.
`$GIT_WORK_TREE` or `$GIT_COMMON_DIR` is set.
*
`git_diff_from_buffer`
can create a
`git_diff`
object from the contents
*
`git_diff_from_buffer
()
`
can create a
`git_diff`
object from the contents
of a git-style patch file.
of a git-style patch file.
*
`git_index_version()`
and
`git_index_set_version()`
to get and set
*
`git_index_version()`
and
`git_index_set_version()`
to get and set
the index version
the index version
*
`git_odb_expand_ids()`
lets you check for the existence of multiple
objects at once.
*
The new
`git_blob_dup()`
,
`git_commit_dup()`
,
`git_tag_dup()`
and
`git_tree_dup()`
functions provide type-specific wrappers for
`git_object_dup()`
to reduce noise and increase type safety for callers.
*
`git_reference_dup()`
lets you duplicate a reference to aid in ownership
management and cleanup.
*
`git_signature_from_buffer()`
lets you create a signature from a string in the
format that appear in objects.
*
`git_tree_create_updated()`
lets you create a tree based on another one
together with a list of updates. For the covered update cases, it's more
efficient than the
`git_index`
route.
*
`git_apply_patch()`
applies hunks from a
`git_patch`
to a buffer.
*
`git_diff_to_buf()`
lets you print an entire diff directory to a buffer,
similar to how
`git_patch_to_buf()`
works.
*
`git_proxy_init_options()`
is added to initialize a
`git_proxy_options`
structure at run-time.
*
`git_merge_driver_register()`
,
`git_merge_driver_unregister()`
let you
register and unregister a custom merge driver to be used when
`.gitattributes`
specifies it.
*
`git_merge_driver_lookup()`
can be used to look up a merge driver by name.
*
`git_merge_driver_source_repo()`
,
`git_merge_driver_source_ancestor()`
,
`git_merge_driver_source_ours()`
,
`git_merge_driver_source_theirs()`
,
`git_merge_driver_source_file_options()`
added as accessors to
`git_merge_driver_source`
.
### API removals
### API removals
*
`git_blob_create_fromchunks()`
has been removed in favour of
*
`git_blob_create_fromchunks()`
has been removed in favour of
...
@@ -80,6 +139,8 @@ v0.24 + 1
...
@@ -80,6 +139,8 @@ v0.24 + 1
If this is
`NULL`
, then it will not be called and the
`exists`
function
If this is
`NULL`
, then it will not be called and the
`exists`
function
will be used instead.
will be used instead.
*
`git_remote_connect()`
now accepts proxy options.
v0.24
v0.24
-------
-------
...
...
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