Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 50e11d0

Browse files
committed
Update CHANGELOG with the commit function changes
1 parent 9855a1b commit 50e11d0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ v0.23 + 1
1717
the opportunity for concurrent operations and not committing any
1818
changes until the unlock.
1919

20-
2120
* `git_diff_options` added a new callback `progress_cb` to report on the
2221
progress of the diff as files are being compared. The documentation of
2322
the existing callback `notify_cb` was updated to reflect that it only
@@ -27,8 +26,19 @@ v0.23 + 1
2726
as the constructor for a TLS stream instead of the libgit2 built-in
2827
one.
2928

29+
* `git_commit_create_on()` takes on the role which
30+
`git_commit_create()` had when provided a reference name to
31+
update. `git_commit_create_on_head()` always updates the current
32+
branch.
33+
34+
* `git_commit_create_fromstate()` is a variant of the commit creation
35+
function which behaves closer to `git-commit` by taking the parents
36+
and tree from the current branch and the index.
37+
3038
### API removals
3139

40+
* `git_commit_create()` has been renamed to `git_commit_create_on()`.
41+
3242
### Breaking API changes
3343

3444
* `git_cert` descendent types now have a proper `parent` member

0 commit comments

Comments
 (0)