github libgit2/libgit2 v0.26.3
libgit2 v0.26.3

latest releases: v1.8.0, v1.7.2, v1.6.5...
6 years ago

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

  • Fix cloning of the libgit2 project with git clone --recursive by removing an
    invalid submodule from our testing data.

  • Fix endianness of the port in p_getaddrinfo().

  • Fix handling of negative gitignore rules with wildcards.

  • Fix handling of case-insensitive negative gitignore rules.

  • Fix resolving references to a tag if the reference is stored with its fully
    resolved OID in the packed-refs file.

  • Fix checkout not treating worktree files as modified when only their mode has
    changed.

  • Fix rename detection with GIT_DIFF_FIND_RENAMES_FROM_REWRITES.

  • Enable Windows 7 and earlier to use TLS 1.2.

A list of commits since the last release follows:

cc9b0b6c5 tests: try to init with empty template path
82bb59b47 repository: do not initialize templates if dir is an empty string
e4517af3e repository: remove trailing whitespace
54d4e5de8 Remove invalid submodule
e7c24ea20 tests: fix the rebase-submodule test
f908bb8ea Convert port with htons() in p_getaddrinfo()
58197758b ignore: fix indentation of comment block
8d86cdd46 ignore: return early to avoid useless indentation
5c15cd949 ignore: keep negative rules containing wildcards
32cc5edce tests: status: additional test for negative ignores with pattern
4296a36b7 ignore: honor case insensitivity for negative ignores
21f77af92 signature: don't leave a dangling pointer to the strings on parse failure
3ca2bb390 sha1_position: convert do-while to while
c3fbf9058 Clear the remote_ref_name buffer in git_push_update_tips()
e29ab6feb proxy: add a free function for the options's pointers
8d7dcb10f curl: free the proxy options
27a8092bb curl: free the user-provided proxy credentials
93ecb61ae proxy: rename the options freeing function
c27022355 Use SOCK_CLOEXEC when creating sockets
cda18f9ba refs: do not use peeled OID if peeling to a tag
f41e86d62 transports: smart: fix memory leak when skipping symbolic refs
243881795 checkout: treat files as modified if mode differs
8631357ea checkout: do not test file mode on Windows
e66bc08c3 checkout: test force checkout when mode changes
68842cbb5 Ignore trailing whitespace in .gitignore files (as git itself does)
5c3a42ad4 Include git2/worktree.h in git2.h
05a753d4d diff: remove unused macros `DIFF_FLAG_*`
3c4e0ceef diff_generate: fix unsetting diff flags
049e1de59 openssl: fix thread-safety on non-glibc POSIX systems
5cc3971a6 libFuzzer: Fix a git_packfile_stream leak
a3cd5e941 libFuzzer: Fix missing trailer crash
a42e11aea libFuzzer: Prevent a potential shift overflow
feb00daff Using unsigned instead
8f189cbfe Simplified overflow condition
7ad0cee6c hash: openssl: check return values of SHA1_* functions
7cc805467 streams: openssl: fix thread-safety for OpenSSL error messages
34f1ded97 stransport: provide error message on trust failures
a521f5b16 diff_file: properly refcount blobs when initializing file contents
e83efde45 Fix unpack double free
5e97bdaf3 odb: export mempack backend
08ab59020 Introduce additional criss-cross merge branches
457a81bb0 oidarray: introduce git_oidarray__reverse
b2b370773 merge: reverse merge bases for recursive merge
dc51d7740 merge::trees::recursive: test for virtual base building
3619e0f09 Add failing test case for virtual commit merge base issue
b3c0d43ce merge: virtual commit should be last argument to merge-base
be205dfa4 tests: diff::rename: use defines for commit OIDs
e229e90d7 tests: add rename-rewrite scenarios to "renames" repository
e74e05ed1 diff_tform: fix rename detection with rewrite/delete pair
3983fc1dc checkout: take mode into account when comparing index to baseline
736159003 checkout test: ensure workdir perms are updated
1b853c483 checkout test: further ensure workdir perms are updated
9bdc00b1b mingw: update TLS option flags
aa0127c0f winhttp: include constants for TLS 1.1/1.2 support
9ab8d1532 winhttp: enable TLS 1.2 on Windows 7 and earlier
c24b15c36 win32: strncmp -> git__strncmp
9e98f49d4 tree: initialize the id we use for testing submodule insertions
b35c30986 curl: explicitly initialize and cleanup global curl state
7c8ddef0c CHANGELOG.md: update for v0.26.3

Don't miss a new libgit2 release

NewReleases is sending notifications on new releases.