New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libgit2 1.8.0 #166767
base: master
Are you sure you want to change the base?
libgit2 1.8.0 #166767
Conversation
01600a0
to
a5dbc8b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pygit2
is usually a bit slow to pick up compatibility, so there's a chance this won't work. The latest two releases of libgit2
are supported though.
@carlocab Should we wait for LLVM to land before doing too much here? |
Yea, probably. We probably want to wait a bit for dependents to pick up compatibility anyway. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a |
Similar to Python ( Anyway, links to some upstream PRs / unreleased commits:
|
a5dbc8b
to
37dbc72
Compare
Created with
brew bump-formula-pr
.release notes
Executable SSH (OpenSSH) support
libgit2 can now invoke the command-line OpenSSH to fetch from and push to remotes over SSH. This support takes the place of libssh2 support. To use it, configure libgit2 with
cmake -DUSE_SSH=exec
, and please report any problems that you discover. By @ethomson in Add OpenSSH support libgit2/libgit2#6617Simplified commit creation
The
git_commit_create_from_stage
API was introduced to allow users to better emulate the behavior ofgit commit
without needing to provide unnecessary information. The current state of the index is committed to the current branch. By @ethomson in commit: introduce git_commit_create_from_stage libgit2/libgit2#6716Worktree improvements
A number of worktree improvements have been made for better compatibility with core git. First, libgit2 now understands per-worktree references, thanks to @csware in Make refdb_fs (hopefully) fully aware of per worktree refs libgit2/libgit2#6387. Worktree-specific configuration is now supported, thanks to @vermiculus in Support the extension for worktree-specific config libgit2/libgit2#6202. And improved compatibility with
git worktree add
is now supported, thanks to @herrerog in worktree: mimic 'git worktree add' behavior. libgit2/libgit2#5319.Breaking changes
Adding
WORKTREE
configuration level (ABI breaking change)To support worktree configurations at the appropriate level (higher priority than local configuration, but lower priority than app-specific configuration), the
GIT_CONFIG_LEVEL_WORKTREE
level was introduced at priority 6.GIT_CONFIG_LEVEL_APP
now begins at priority 7.Changes to
git_config_entry
(ABI breaking change) Thegit_config_entry
structure now contains information about thebackend_type
andorigin_path
. The unusedpayload
value has been removed.git_push_options
includes remote push options (ABI breaking change)The
git_push_options
structure now contains a value for remote push options.Other changes
New features
git config
command by @ethomson in cli: add agit config
command libgit2/libgit2#6616index-pack
command by @ethomson in cli: addindex-pack
command libgit2/libgit2#6681git_repository_commit_parents
to identify the parents of the next commit given the repository state by @ethomson in Addgit_repository_commit_parents
to identify the parents of the next commit given the repository state libgit2/libgit2#6707Bug fixes
NULL
ingit_error_last()
by @ethomson in errors: refactoring - never returnNULL
ingit_error_last()
libgit2/libgit2#6625git_revparse_single
and add revparse fuzzing by @ethomson in Correctgit_revparse_single
and add revparse fuzzing libgit2/libgit2#6730GIT_DIFF_LINE_(ADD|DEL)_EOFNL
to match other Diffs by @xphoniex in SwapGIT_DIFF_LINE_(ADD|DEL)_EOFNL
to match other Diffs libgit2/libgit2#6240safe.directory
improvements by @ethomson in Moresafe.directory
improvements libgit2/libgit2#6739Build and CI improvements
Documentation improvements
Platform compatibility fixes
Git compatibility fixes
Dependency updates
New Contributors
GIT_DIFF_LINE_(ADD|DEL)_EOFNL
to match other Diffs libgit2/libgit2#6240Full Changelog: libgit2/libgit2@v1.7.0...v1.8.0