Skip to content

libgit2 v0.21.2 Maintenance Release

Compare
Choose a tag to compare
@carlosmn carlosmn released this 27 Oct 16:27
· 8664 commits to main since this release

The following (critical) fixes have been backported to this maintenance release. All users of the library are encouraged to update.

  • 4af08d9 Bump version to 0.21.2
  • cc71348 global: clean up openssl_locks on shutdown
  • cb93013 config test: clean up memory leak
  • f4cb227 travis ci: build maint branches and development'
  • 5595287 Fixed memory leak in git_tag_delete()
  • 7881bab Patch from @carlosmn to refresh the parent config before snapshotting.
  • 1ebb8e9 Change the length of the file so that the change is picked up.
  • acbfce9 Add a test to make sure a new snapshot has the new value.
  • 635ba11 is_empty_dir (wi32): cope with empty mount points
  • b2fa95a p_lstat win32: don't canonicalize volume mounts
  • 01a1be3 Don't copy buffer in checkout unless needed
  • 46ef5a7 Ensure filters (i.e. CRLF) are applied when checking out conflict content
  • 6e41c27 Introduce failing test for conflict filtering in index
  • d055f4e repository_head_unborn: clear error when HEAD is unborn
  • 5757c02 ssl: dump the SSL ciphers in favour of TLS
  • 0571362 Silence unused return value warning
  • c02c530 Ensure patch is initialized to zero, otherwise, the allocated flag may be set
  • 6004658 Silence uninitialized warning
  • b933465 Fixed odb foreach test failure for big-endian 64-bit
  • 8a89bda Fixed merge REUC test for big-endian 64-bit
  • e8b6f55 The raw index buffer content is not guaranteed to be aligned
  • 55f72c1 Ensure pool data is aligned on an 8 byte boundary
  • f975fe9 Introduce GIT_ALIGN
  • 2f83bfc git_filter: dup the filter name
  • 68fce7f config: Fix multiple trailing spaces before comments not completely trimmed
  • a97157a When auto follow tags, FETCH_HEAD should list only newly followed tags
  • e023545 global: free the error message when exiting a thread
  • b593577 Correctly handle getaddrinfo return result
  • ba5cef0 Recurse ignored directories when stashing
  • 80ddaec Include git2/odb_backend.h in git2.h
  • c12bc32 Remove local unused index_repo variable
  • 9a8126e Only check for workdir conflicts if the index has merged files
  • edb2b83 Added test case to illustrate bogus conflicts detected if no files were merged, and untracked
  • c93d1eb ssh: store error message immediately after a failed agent call
  • ebee4d5 pack: return the correct final offset
  • b401dc9 git_remote_ls() should return an error if the transport is not available
  • 7d729d0 http: make sure we can consume the data we request
  • ea97190 config: a multiline var can start immediately