Git - v2.37.2


This primarily is to backport various fixes accumulated on the 'master'
front since 2.37.1.

Fixes since v2.37.1

  • "git shortlog -n" relied on the underlying qsort() to be stable,
    which shouldn't have. Fixed.

  • Variable quoting fix in the vimdiff driver of "git mergetool".

  • An earlier attempt to plug leaks placed a clean-up label to jump to
    at a bogus place, which as been corrected.

  • Fixes a long-standing corner case bug around directory renames in
    the merge-ort strategy.

  • Recent update to vimdiff layout code has been made more robust
    against different end-user vim settings.

  • In a non-bare repository, the behavior of Git when the
    core.worktree configuration variable points at a directory that has
    a repository as its subdirectory, regressed in Git 2.27 days.

  • References to commands-to-be-typed-literally in "git rebase"
    documentation mark-up have been corrected.

  • Give _() markings to fatal/warning/usage: labels that are shown in
    front of these messages.

  • "git mktree --missing" lazily fetched objects that are missing from
    the local object store, which was totally unnecessary for the purpose
    of creating the tree object(s) from its input.

  • Fixes for tests when the source directory has unusual characters in
    its path, e.g. whitespaces, double-quotes, etc.

  • Adjust technical/bitmap-format to be formatted by AsciiDoc, and
    add some missing information to the documentation.

  • Certain diff options are currently ignored when combined-diff is
    shown; mark them as incompatible with the feature.

  • "git clone" from a repository with some ref whose HEAD is unborn
    did not set the HEAD in the resulting repository correctly, which
    has been corrected.

  • mkstemp() emulation on Windows has been improved.

  • Add missing documentation for "include" and "includeIf" features in
    "git config" file format, which incidentally teaches the command
    line completion to include them in its offerings.

  • Avoid "white/black-list" in documentation and code comments.

  • Workaround for a compiler warning against use of die() in
    osx-keychain (in contrib/).

  • Workaround for a false positive compiler warning.

  • The resolve-undo information in the index was not protected against
    GC, which has been corrected.

  • A corner case bug where lazily fetching objects from a promisor
    remote resulted in infinite recursion has been corrected.

  • "git p4" working on UTF-16 files on Windows did not implement
    CRLF-to-LF conversion correctly, which has been corrected.

  • "git p4" did not handle non-ASCII client name well, which has been
    corrected.

  • "rerere-train" script (in contrib/) used to honor commit.gpgSign
    while recreating the throw-away merges.

  • "git checkout" miscounted the paths it updated, which has been
    corrected.

  • Fix for a bug that makes write-tree to fail to write out a
    non-existent index as a tree, introduced in 2.37.

  • There was a bug in the codepath to upgrade generation information
    in commit-graph from v1 to v2 format, which has been corrected.

Also contains minor documentation updates and code clean-ups.


Details

👇
Register or login to:
  • 🔍View and search all Git releases.
  • 🛠️Create and share lists to track your tools.
  • 🚨Setup notifications for major, security, feature or patch updates.
  • 🚀Much more coming soon!
Continue with GitHub
Continue with Google
or