libgit2 v1.8.0 #6775
ethomson
started this conversation in
Announcements
libgit2 v1.8.0
#6775
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
v1.8
This is release v1.8.0, "Das Fliegende Klassenzimmer". This release includes optional, experimental support for invoking OpenSSH to fetch and push, an easier mechanism to perform the default behavior of
git commit
, and has many improvements for worktrees. This release also includes many other new features and bugfixes.Major changes
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 #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 #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 #6387. Worktree-specific configuration is now supported, thanks to @vermiculus in Support the extension for worktree-specific config #6202. And improved compatibility with
git worktree add
is now supported, thanks to @herrerog in worktree: mimic 'git worktree add' behavior. #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 #6616index-pack
command by @ethomson in cli: addindex-pack
command #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 #6707Bug fixes
NULL
ingit_error_last()
by @ethomson in errors: refactoring - never returnNULL
ingit_error_last()
#6625git_revparse_single
and add revparse fuzzing by @ethomson in Correctgit_revparse_single
and add revparse fuzzing #6730GIT_DIFF_LINE_(ADD|DEL)_EOFNL
to match other Diffs by @xphoniex in SwapGIT_DIFF_LINE_(ADD|DEL)_EOFNL
to match other Diffs #6240safe.directory
improvements by @ethomson in Moresafe.directory
improvements #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 #6240Full Changelog: v1.7.0...v1.8.0
This discussion was created from the release libgit2 v1.8.0.
Beta Was this translation helpful? Give feedback.
All reactions