Skip to content

libgit2 v0.27.2

Choose a tag to compare

@pks-t pks-t released this 10 Jun 16:13
· 218 commits to maint/v0.27 since this release
8d36dc6

This is a bugfix release. It includes the following non-exclusive list of
improvements, which have been backported from the master branch:

  • Fix builds with LibreSSL 2.7.

  • Fix for git_diff_status_char() not returning the correct mapping for
    GIT_DELTA_TYPECHANGE.

  • Fix for the submodules API not reporting errors when parsing the ".gitmodules"
    file.

  • Fix for accepting a ".gitmodules" file where two submodules have the same
    path.

  • Fix for hiding references in a graph walk not always limiting the graph
    correctly.

  • Fix for directory patterns with trailing spaces in attribute files not being
    handled correctly.

  • Fix SSH transports not properly disconnecting from the server.

  • Fix reading HEAD reflog in worktrees.

  • Update our copy of SHA1DC to fix errors with endianess on some platforms.

A list of commits since the last release follows:

b2e7d8c22 transports: ssh: disconnect session before freeing it
b89988c7f transports: ssh: replace deprecated function `libssh2_session_startup`
4d4a7dbf5 sha1dc: update to fix errors with endianess
59012bf41 odb: mempack: fix leaking objects when freeing mempacks
a714e836d transports: local: fix assert when fetching into repo with symrefs
b260fdc84 attr_file: fix handling of directory patterns with trailing spaces
e9ee7bd0a fixed stack smashing due to wrong size of struct stat on the stack on 32-bit systems with 64-bit file descriptor offsets enabled (added -D_FILE_OFFSET_BITS=64 when compiling the test suite)
e2a80124d refs: preserve the owning refdb when duping reference
b6623be06 tests: ensure worktrees' head have owners too
0f88adb65 Submodule API should report .gitmodules parse errors
07011e60c revwalk: fix uninteresting revs sometimes not limiting graphwalk
16b62dd4c diff: Add missing GIT_DELTA_TYPECHANGE -> 'T' mapping.
2569056d1 typo: Fixed a trivial typo in test function.
0f09d9f55 Fix build with LibreSSL 2.7
7fa6c8ce5 util: fix missing headers for MinGW environments
1cc6cc990 appveyor: disable DHE to avoid spurious failures
dad649871 appveyor: fix typo in registry key to disable DHE
a137cdbd9 refspec: check for valid parameters in git_refspec__dwim_one
96329606d worktree: Read worktree specific reflog for HEAD
2fe887e6f remote: repo is optional here
8fa0b34bd local: fix a leaking reference when iterating over a symref
b2f3ff567 worktree: fix calloc of the wrong object type
0c8ff50fe cmake: resolve libraries found by pkg-config
f2e5c092e cmake: remove now-useless LIBGIT2_LIBDIRS handling
7392799dd submodule: detect duplicated submodule paths
358651170 tests: submodule: do not rely on config iteration order
0818adece CHANGELOG.md: update for release v0.27.2
853ef86ac version: bump soversion to v0.27.2