-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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.1 [email protected] 1.7.2 (new formula) #166767
libgit2 1.8.1 [email protected] 1.7.2 (new formula) #166767
Conversation
01600a0
to
a5dbc8b
Compare
@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
37dbc72
to
2ed8777
Compare
Merging #172078 into this and doing a rebase. |
2ed8777
to
e1b47de
Compare
I added a suggested change to bump to libgit2 v1.8.1. If that doesn't unblock us, I've prepared a v1.8.2 rc1 that reverts a change to |
Any way we can update the git crate in rust? https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md#0190---2024-06-13 should work. |
@branchvincent Thanks for the great work on this! |
thanks @bevanjkay and @SMillerDev for the help 💯 |
❌ @branchvincent bottle request for cargo-c failed. |
Hi @ethomson, thanks for checking in!
The difficulty with this PR is that we can only update the We can of course, move some of the laggards to a
Being more careful about maintaining ABI compatibility would indeed help! Your security policy of supporting the latest two versions is also helpful for us (because that allows us to package a slightly older version), but we'd love it if the typical |
Thanks for the details. These are often things that seem not so obvious in the small scale. It's only when you see them in the macro that you realize just how gnarly this is. 🙏 |
I think this broke the |
oops, not sure how that was missed. #177681 will fix |
Looks like |
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