v1.9.3
This release includes a number of bugfixes and compatibility improvements, particularly around SHA256 support.
- cmake: fix linker error when using ninja build generator by @kcsaul in #7249
- Handle redirects with Content-Length: 0 correctly by @ethomson in #7246
- ci: use poxygit v0.8.1 in the tests by @ethomson in #7248
- Zero indexer stats in pack objects by @ethomson in #7243
- submodule: git_index_add_bypath does not move conflict entries to REUC by @lrm29 in #7003
- fix: prevent SSH timeout infinite loop and enable TCP keepalive by @ambv in #7165
- merge_files: avoid UB in xdiff by @ethomson in #7239
- git_merge_file_from_index: handle cases when a child (ours or theirs) is null by @eantoranz in #7092
- cmake: write git.h.tmp to current binary directory by @kcsaul in #7241
- fix(pack): ensure pack_backend__read returns null terminated buffer by @kanru in #7238
- Check object lengths against headers in read_loose by @howtonotwin in #7178
- cmake: don't recreate git2.h unnecessarily by @ethomson in #7234
- Memory Backend Corruption Fix by @kcsaul in #7232
- Fixed a heap-buffer-overflow in the smart_pkt.c:set_data function by @oliverchang in #7118
- fix(transport): get oid_type on local transport by @weihanglo in #7229
GIT_REMOTE_DOWNLOAD_TAGS_ALL: remove stray "the" in docs by @DanielEScherzer in #7228- fix(clone): propagate object format in local clone by @weihanglo in #7226
- repo: Fix possible null pointer dereference by @csware in #7225
- revparse: Allow
HEADabbreviation@by @KoviRobi in #7218 - camke: include libssh2 in
Requires.privatein the PC file by @carlosmn in #7215 - futils: fix undefined behavior in O_FSYNC fallback definition by @cehoffman in #7211
- pcre: actually fix dangling-pointer warning by @ethomson in #7206
- pcre: update cmake warnings for non-gcc by @ethomson in #7205
- Fix some warnings with gcc by @ethomson in #7203
- fix: apply insteadOf from global config for detached remotes by @weihanglo in #7195
- Fix
git_index_entrydocumentation by @bakersdozen123 in #7192 - config: Fix potential null value passed to %s by @ethomson in #7190
- index: support USE_NSEC=OFF by @ethomson in #7187
- feat(remote): expose
git_remote_oid_typeby @weihanglo in #7185 - fix(smart): keep caps across RPC stream resets by @weihanglo in #7183
- fix wrong comment by @Murmele in #7181
- fix(sha256): pass correct oid type by @weihanglo in #7179
- examples: correct
git_commit_timecomment by @qaqland in #7175 - tests: update to latest clar by @ethomson in #7173
- delta: fix undefined behavior in hdr_sz varint parsing by @Oblivionsage in #7172
- ci: Update macos-13 to macos-14 images on GitHub Actions by @ambv in #7167
- ci: Fix cases of -Werror=discarded-qualifiers raised by @gcc 15.2 by @ambv in #7164
- Use CMAKE_INSTALL_INCLUDEDIR for libgit2package INSTALL_INTERFACE by @aware70 in #7155
- Fix C4703 uninitialized pointer variable warnings by @ShiningMassXAcc in #7154
- test: check the correct filesystem for case-sensitivity by @ambv in #7153
- ci: update ci/docker/fedora to work with Rawhide 44 by @ambv in #7152
- refs: honor REFSPEC_SHORTHAND for multi-segment refs by @roberth in #7148
- config: Fix potential null value passed to %s by @orgads in #7131
- Fix potential access to uninitialized variables by @orgads in #7130
- refspec: Detect DEL character in is_valid_name by @xokdvium in #7120
- Update documentation to clarify that cert cb is always called by @ehuss in #7119
- Update
racy.creference by @emmanuel-ferdman in #7091 - Avoid duplicate definition of git_http_auth_dummy. by @JohannesWilde in #7077