Skip to content

Conversation

@dscho
Copy link
Member

@dscho dscho commented Oct 27, 2025

The usual PR prior to releasing.

The overall diff is relatively small, essentially because I integrated the most important regression fix for Git v2.51.1 into Git for Windows v2.51.1 already... ;-)

This fixes #5913

dscho and others added 30 commits October 27, 2025 21:10
As reported in newren/git-filter-repo#225, it
looks like 99 bytes is not really sufficient to represent e.g. the full
path to Python when installed via Windows Store (and this path is used
in the hasb bang line when installing scripts via `pip`).

Let's increase it to what is probably the maximum sensible path size:
MAX_PATH. This makes `parse_interpreter()` in line with what
`lookup_prog()` handles.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Vilius Šumskas <vilius@sumskas.eu>
We used to have that `make vcxproj` hack, but a hack it is. In the
meantime, we have a much cleaner solution: using CMake, either
explicitly, or even more conveniently via Visual Studio's built-in CMake
support (simply open Git's top-level directory via File>Open>Folder...).

Let's let the `README` reflect this.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This adds support for a new http.sslAutoClientCert config value.

In cURL 7.77 or later the schannel backend does not automatically send
client certificates from the Windows Certificate Store anymore.

This config value is only used if http.sslBackend is set to "schannel",
and can be used to opt in to the old behavior and force cURL to send
client certificates.

This fixes #3292

Signed-off-by: Pascal Muller <pascalmuller@gmail.com>
Because `git subtree` (unlike most other `contrib` modules) is included as
part of the standard release of Git for Windows, its stability should be
verified as consistently as it is for the rest of git. By including the
`git subtree` tests in the CI workflow, these tests are as much of a gate to
merging and indicator of stability as the standard test suite.

Signed-off-by: Victoria Dye <vdye@github.com>
On LLP64 systems, such as Windows, the size of `long`, `int`, etc. is
only 32 bits (for backward compatibility). Git's use of `unsigned long`
for file memory sizes in many places, rather than size_t, limits the
handling of large files on LLP64 systems (commonly given as `>4GB`).

Provide a minimum test for handling a >4GB file. The `hash-object`
command, with the  `--literally` and without `-w` option avoids
writing the object, either loose or packed. This avoids the code paths
hitting the `bigFileThreshold` config test code, the zlib code, and the
pack code.

Subsequent patches will walk the test's call chain, converting types to
`size_t` (which is larger in LLP64 data models) where appropriate.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Continue walking the code path for the >4GB `hash-object --literally`
test. The `hash_object_file_literally()` function internally uses both
`hash_object_file()` and `write_object_file_prepare()`. Both function
signatures use `unsigned long` rather than `size_t` for the mem buffer
sizes. Use `size_t` instead, for LLP64 compatibility.

While at it, convert those function's object's header buffer length to
`size_t` for consistency. The value is already upcast to `uintmax_t` for
print format compatibility.

Note: The hash-object test still does not pass. A subsequent commit
continues to walk the call tree's lower level hash functions to identify
further fixes.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Continue walking the code path for the >4GB `hash-object --literally`
test to the hash algorithm step for LLP64 systems.

This patch lets the SHA1DC code use `size_t`, making it compatible with
LLP64 data models (as used e.g. by Windows).

The interested reader of this patch will note that we adjust the
signature of the `git_SHA1DCUpdate()` function without updating _any_
call site. This certainly puzzled at least one reviewer already, so here
is an explanation:

This function is never called directly, but always via the macro
`platform_SHA1_Update`, which is usually called via the macro
`git_SHA1_Update`. However, we never call `git_SHA1_Update()` directly
in `struct git_hash_algo`. Instead, we call `git_hash_sha1_update()`,
which is defined thusly:

    static void git_hash_sha1_update(git_hash_ctx *ctx,
                                     const void *data, size_t len)
    {
        git_SHA1_Update(&ctx->sha1, data, len);
    }

i.e. it contains an implicit downcast from `size_t` to `unsigned long`
(before this here patch). With this patch, there is no downcast anymore.

With this patch, finally, the t1007-hash-object.sh "files over 4GB hash
literally" test case is fixed.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The CMakeSettings.json file is tool generated. Developers may track it
should they provide additional settings.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Just like the `hash-object --literally` code path, the `--stdin` code
path also needs to use `size_t` instead of `unsigned long` to represent
memory sizes, otherwise it would cause problems on platforms using the
LLP64 data model (such as Windows).

To limit the scope of the test case, the object is explicitly not
written to the object store, nor are any filters applied.

The `big` file from the previous test case is reused to save setup time;
To avoid relying on that side effect, it is generated if it does not
exist (e.g. when running via `sh t1007-*.sh --long --run=1,41`).

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
In Git-for-Windows, work on using ARM64 has progressed. The
commit 2d94b77 (cmake: allow building for Windows/ARM64, 2020-12-04)
failed to notice that /compat/vcbuild/vcpkg_install.bat will default to
using the "x64-windows" architecture for the vcpkg installation if not set,
but CMake is not told of this default. Commit 635b6d9 (vcbuild: install
ARM64 dependencies when building ARM64 binaries, 2020-01-31) later updated
vcpkg_install.bat to accept an arch (%1) parameter, but retained the default.

This default is neccessary for the use case where the project directory is
opened directly in Visual Studio, which will find and build a CMakeLists.txt
file without any parameters, thus expecting use of the default setting.

Also Visual studio will generate internal .sln solution and .vcxproj project
files needed for some extension tools. Inform users of the additional
.sln/.vcxproj generation.

** How to test:
 rm -rf '.vs' # remove old visual studio settings
 rm -rf 'compat/vcbuild/vcpkg' # remove any vcpkg downloads
 rm -rf 'contrib/buildsystems/out' # remove builds & CMake artifacts
 with a fresh Visual Studio Community Edition, File>>Open>>(git *folder*)
   to load the project (which will take some time!).
 check for successful compilation.
The implicit .sln (etc.) are in the hidden .vs directory created by
Visual Studio.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
To complement the `--stdin` and `--literally` test cases that verify
that we can hash files larger than 4GB on 64-bit platforms using the
LLP64 data model, here is a test case that exercises `hash-object`
_without_ any options.

Just as before, we use the `big` file from the previous test case if it
exists to save on setup time, otherwise generate it.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Ensure key CMake option values are part of the CMake output to
facilitate user support when tool updates impact the wider CMake
actions, particularly ongoing 'improvements' in Visual Studio.

These CMake displays perform the same function as the build-options.txt
provided in the main Git for Windows. CMake is already chatty.
The setting of CMAKE_EXPORT_COMPILE_COMMANDS is also reported.

Include the environment's CMAKE_EXPORT_COMPILE_COMMANDS value which
may have been propogated to CMake's internal value.

Testing the CMAKE_EXPORT_COMPILE_COMMANDS processing can be difficult
in the Visual Studio environment, as it may be cached in many places.
The 'environment' may include the OS, the user shell, CMake's
own environment, along with the Visual Studio presets and caches.

See previous commit for arefacts that need removing for a clean test.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
In Git for Windows, `has_symlinks` is set to 0 by default. Therefore, we
need to parse the config setting `core.symlinks` to know if it has been
set to `true`. In `git init`, we must do that before copying the
templates because they might contain symbolic links.

Even if the support for symbolic links on Windows has not made it to
upstream Git yet, we really should make sure that all the `core.*`
settings are parsed before proceeding, as they might very well change
the behavior of `git init` in a way the user intended.

This fixes #3414

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
To verify that the `clean` side of the `clean`/`smudge` filter code is
correct with regards to LLP64 (read: to ensure that `size_t` is used
instead of `unsigned long`), here is a test case using a trivial filter,
specifically _not_ writing anything to the object store to limit the
scope of the test case.

As in previous commits, the `big` file from previous test cases is
reused if available, to save setup time, otherwise re-generated.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
In the case of Git for Windows (say, in a Git Bash window) running in a
Windows Subsystem for Linux (WSL) directory, the GetNamedSecurityInfoW()
call in is_path_owned_By_current_side() returns an error code other than
ERROR_SUCCESS. This is consistent behavior across this boundary.

In these cases, the owner would always be different because the WSL
owner is a different entity than the Windows user.

The change here is to suppress the error message that looks like this:

  error: failed to get owner for '//wsl.localhost/...' (1)

Before this change, this warning happens for every Git command,
regardless of whether the directory is marked with safe.directory.

Signed-off-by: Derrick Stolee <derrickstolee@github.com>
For Windows builds >= 15063 set $env:TERM to "xterm-256color" instead of
"cygwin" because they have a more capable console system that supports
this. Also set $env:COLORTERM="truecolor" if unset.

$env:TERM is initialized so that ANSI colors in color.c work, see
29a3963 (Win32: patch Windows environment on startup, 2012-01-15).

See #3629 regarding problems caused by always setting
$env:TERM="cygwin".

This is the same heuristic used by the Cygwin runtime.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
NtQueryObject under Wine can return a success but fill out no name.
In those situations, Wine will set Buffer to NULL, and set result to
the sizeof(OBJECT_NAME_INFORMATION).

Running a command such as

echo "$(git.exe --version 2>/dev/null)"

will crash due to a NULL pointer dereference when the code attempts to
null terminate the buffer, although, weirdly, removing the subshell or
redirecting stdout to a file will not trigger the crash.

Code has been added to also check Buffer and Length to ensure the check
is as robust as possible due to the current behavior being fragile at
best, and could potentially change in the future

This code is based on the behavior of NtQueryObject under wine and
reactos.

Signed-off-by: Christopher Degawa <ccom@randomderp.com>
Atomic append on windows is only supported on local disk files, and it may
cause errors in other situations, e.g. network file system. If that is the
case, this config option should be used to turn atomic append off.

Co-Authored-By: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: 孙卓识 <sunzhuoshi@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
From the documentation of said setting:

	This boolean will enable fsync() when writing object files.

	This is a total waste of time and effort on a filesystem that
	orders data writes properly, but can be useful for filesystems
	that do not use journalling (traditional UNIX filesystems) or
	that only journal metadata and not file contents (OS X’s HFS+,
	or Linux ext3 with "data=writeback").

The most common file system on Windows (NTFS) does not guarantee that
order, therefore a sudden loss of power (or any other event causing an
unclean shutdown) would cause corrupt files (i.e. files filled with
NULs). Therefore we need to change the default.

Note that the documentation makes it sound as if this causes really bad
performance. In reality, writing loose objects is something that is done
only rarely, and only a handful of files at a time.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This compile-time option allows to ask Git to load libcurl dynamically
at runtime.

Together with a follow-up patch that optionally overrides the file name
depending on the `http.sslBackend` setting, this kicks open the door for
installing multiple libcurl flavors side by side, and load the one
corresponding to the (runtime-)configured SSL/TLS backend.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This implements the Windows-specific support code, because everything is
slightly different on Windows, even loading shared libraries.

Note: I specifically do _not_ use the code from
`compat/win32/lazyload.h` here because that code is optimized for
loading individual functions from various system DLLs, while we
specifically want to load _many_ functions from _one_ DLL here, and
distinctly not a system DLL (we expect libcurl to be located outside
`C:\Windows\system32`, something `INIT_PROC_ADDR` refuses to work with).
Also, the `curl_easy_getinfo()`/`curl_easy_setopt()` functions are
declared as vararg functions, which `lazyload.h` cannot handle. Finally,
we are about to optionally override the exact file name that is to be
loaded, which is a goal contrary to `lazyload.h`'s design.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The previous commits introduced a compile-time option to load libcurl
lazily, but it uses the hard-coded name "libcurl-4.dll" (or equivalent
on platforms other than Windows).

To allow for installing multiple libcurl flavors side by side, where
each supports one specific SSL/TLS backend, let's first look whether
`libcurl-<backend>-4.dll` exists, and only use `libcurl-4.dll` as a fall
back.

That will allow us to ship with a libcurl by default that only supports
the Secure Channel backend for the `https://` protocol. This libcurl
won't suffer from any dependency problem when upgrading OpenSSL to a new
major version (which will change the DLL name, and hence break every
program and library that depends on it).

This is crucial because Git for Windows relies on libcurl to keep
working when building and deploying a new OpenSSL package because that
library is used by `git fetch` and `git clone`.

Note that this feature is by no means specific to Windows. On Ubuntu,
for example, a `git` built using `LAZY_LOAD_LIBCURL` will use
`libcurl.so.4` for `http.sslbackend=openssl` and `libcurl-gnutls.so.4`
for `http.sslbackend=gnutls`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Whith Windows 2000, Microsoft introduced a flag to the PE header to mark executables as
"terminal server aware". Windows terminal servers provide a redirected Windows directory and
redirected registry hives when launching legacy applications without this flag set. Since we
do not use any INI files in the Windows directory and don't write to the registry, we don't
need  this additional preparation. Telling the OS that we don't need this should provide
slightly improved startup times in terminal server environments.

When building for supported Windows Versions with MSVC the /TSAWARE linker flag is
automatically set, but MinGW requires us to set the --tsaware flag manually.

This partially addresses #3935.

Signed-off-by: Matthias Aßhauer <mha1993@live.de>
Add FileVersion, which is a required field
As not all required fields were present, none were being included
Fixes #4090

Signed-off-by: Kiel Hurley <kielhurley@gmail.com>
In f9b7573 (repository: free fields before overwriting them,
2017-09-05), Git was taught to release memory before overwriting it, but
357a03e (repository.c: move env-related setup code back to
environment.c, 2018-03-03) changed the code so that it would not
_always_ be overwritten.

As a consequence, the `commondir` attribute would point to
already-free()d memory.

This seems not to cause problems in core Git, but there are add-on
patches in Git for Windows where the `commondir` attribute is
subsequently used and causing invalid memory accesses e.g. in setups
containing old-style submodules (i.e. the ones with a `.git` directory
within theirs worktrees) that have `commondir` configured.

This fixes #4083.

Signed-off-by: Andrey Zabavnikov <zabavnikov@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
It is merely a historical wart that, say, `git-commit` exists in the
`libexec/git-core/` directory, a tribute to the original idea to let Git
be essentially a bunch of Unix shell scripts revolving around very few
"plumbing" (AKA low-level) commands.

Git has evolved a lot from there. These days, most of Git's
functionality is contained within the `git` executable, in the form of
"built-in" commands.

To accommodate for scripts that use the "dashed" form of Git commands,
even today, Git provides hard-links that make the `git` executable
available as, say, `git-commit`, just in case that an old script has not
been updated to invoke `git commit`.

Those hard-links do not come cheap: they take about half a minute for
every build of Git on Windows, they are mistaken for taking up huge
amounts of space by some Windows Explorer versions that do not
understand hard-links, and therefore many a "bug" report had to be
addressed.

The "dashed form" has been officially deprecated in Git version 1.5.4,
which was released on February 2nd, 2008, i.e. a very long time ago.
This deprecation was never finalized by skipping these hard-links, but
we can start the process now, in Git for Windows.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This will help with Git for Windows' maintenance going forward: It
allows Git for Windows to switch its primary libcurl to a variant
without the OpenSSL backend, while still loading an alternate when
setting `http.sslBackend = openssl`.

This is necessary to avoid maintenance headaches with upgrading OpenSSL:
its major version name is encoded in the shared library's file name and
hence major version updates (temporarily) break libraries that are
linked against the OpenSSL library.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
In Git for Windows v2.39.0, we fixed a regression where `git.exe` would
no longer work in Windows Nano Server (frequently used in Docker
containers).

This GitHub workflow can be used to verify manually that the Git/Scalar
executables work in Nano Server.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
When running Git for Windows on a remote APFS filesystem, it would
appear that the `mingw_open_append()`/`write()` combination would fail
almost exactly like on some CIFS-mounted shares as had been reported in
#2753, albeit with a
different `errno` value.

Let's handle that `errno` value just the same, by suggesting to set
`windows.appendAtomically=false`.

Signed-off-by: David Lomas <dl3@pale-eds.co.uk>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho and others added 18 commits October 27, 2025 21:11
This is the recommended way on GitHub to describe policies revolving around
security issues and about supported versions.

Helped-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
These are Git for Windows' Git GUI and gitk patches. We will have to
decide at some point what to do about them, but that's a little lower
priority (as Git GUI seems to be unmaintained for the time being, and
the gitk maintainer keeps a very low profile on the Git mailing list,
too).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This was pull request #1645 from ZCube/master

Support windows container.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
With this patch, Git for Windows works as intended on mounted APFS
volumes (where renaming read-only files would fail).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Specify symlink type in .gitattributes
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This patch introduces support to set special NTFS attributes that are
interpreted by the Windows Subsystem for Linux as file mode bits, UID
and GID.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Handle Ctrl+C in Git Bash nicely

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Switch to batched fsync by default
A fix for calling `vim` in Windows Terminal caused a regression and was
reverted. We partially un-revert this, to get the fix again.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This topic branch re-adds the deprecated --stdin/-z options to `git
reset`. Those patches were overridden by a different set of options in
the upstream Git project before we could propose `--stdin`.

We offered this in MinGit to applications that wanted a safer way to
pass lots of pathspecs to Git, and these applications will need to be
adjusted.

Instead of `--stdin`, `--pathspec-from-file=-` should be used, and
instead of `-z`, `--pathspec-file-nul`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Originally introduced as `core.useBuiltinFSMonitor` in Git for Windows
and developed, improved and stabilized there, the built-in FSMonitor
only made it into upstream Git (after unnecessarily long hemming and
hawing and throwing overly perfectionist style review sticks into the
spokes) as `core.fsmonitor = true`.

In Git for Windows, with this topic branch, we re-introduce the
now-obsolete config setting, with warnings suggesting to existing users
how to switch to the new config setting, with the intention to
ultimately drop the patch at some stage.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Start monitoring updates of Git for Windows' component in the open
Add a README.md for GitHub goodness.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
In dry run mode, diff_flush_patch() should not produce any output.
However, in commit b55e6d3 (diff: ensure consistent diff behavior
with ignore options, 2025-08-08), only the output during the
comparison of two file contents was suppressed. For file deletions
or mode changes, diff_flush_patch() still produces output. In
run_extern_diff(), set quiet to true if in dry run mode. In
emit_diff_symbol_from_struct(), directly return if in dry run mode.

Signed-off-by: Lidong Yan <yldhome2d2@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho requested review from mjcheetham and rimrul October 27, 2025 20:36
@dscho dscho self-assigned this Oct 27, 2025
@dscho
Copy link
Member Author

dscho commented Oct 27, 2025

Range-diff relative to
  • 4: 6d7ccd7 = 1: a4a7ff1 sparse-checkout: remove use of the_repository

  • 5: 7be8b37 = 2: 71948f0 sparse-checkout: add basics of 'clean' command

  • 6: 75873a0 = 3: 17e6e2c sparse-checkout: match some 'clean' behavior

  • 7: 4a877b5 = 4: af8b38c dir: add generic "walk all files" helper

  • 8: bddcd7e = 5: 6394cad sparse-checkout: add --verbose option to 'clean'

  • 1: f11d5dd = 6: 76a3806 sideband: mask control characters

  • 9: 7880a2f = 7: d8881ba sparse-index: point users to new 'clean' action

  • 2: 87fa2d0 = 8: 8b431bc sideband: introduce an "escape hatch" to allow control characters

  • 10: 549bbe4 = 9: 067d53f t: expand tests around sparse merges and clean

  • 11: e8bb0c6 = 10: 1e81481 contrib/subtree: fix split with squashed subtrees

  • 3: 103a80f = 11: 348357b sideband: do allow ANSI color sequences by default

  • 12: ded8bd2 (upstream: c0bec06) < -: ------------ diff --no-index: fix logic for paths ending in '/'

  • 13: 3651c88 < -: ------------ diff --no-index: fix logic for paths ending in '/'

  • 14: 48435ab = 12: db9d7ca unix-socket: avoid leak when initialization fails

  • 15: bb0102b = 13: 78b8fb0 grep: prevent ^$ false match at end of file

  • 16: 316faee = 14: 8901336 mingw: avoid relative #includes

  • 18: 1bbb319 = 15: 4c7bcd2 mingw: order #includes alphabetically

  • 17: 4588375 = 16: 9fa03f2 t9350: point out that refs are not updated correctly

  • 19: 5f12931 = 17: 271b1fa transport-helper: add trailing --

  • 20: e27d637 = 18: 1856bef remote-helper: check helper status after import/export

  • 21: a5b418d = 19: fe8ef44 mingw: demonstrate a problem with certain absolute paths

  • 22: ffd4415 = 20: 9abf52c clean: do not traverse mount points

  • 23: f99d039 = 21: 8aeb358 Always auto-gc after calling a fast-import transport

  • 24: 61c8819 = 22: 0a86d81 mingw: allow absolute paths without drive prefix

  • 26: 1383cee = 23: efc59a2 clean: remove mount points when possible

  • 25: 486ff9f = 24: 3bd48df mingw: include the Python parts in the build

  • 27: 99b54d1 = 25: ef29ee3 win32/pthread: avoid name clashes with winpthread

  • 28: b1d2e3a = 26: 452bb2e git-compat-util: avoid redeclaring _DEFAULT_SOURCE

  • 29: 6cd8261 = 27: 9ab117a Import the source code of mimalloc v2.2.4

  • 30: 17d669f = 28: eec1c69 mimalloc: adjust for building inside Git

  • 31: 54b2555 = 29: 86e86c8 mimalloc: offer a build-time option to enable it

  • 32: 6bb96ff = 30: e46c084 mingw: use mimalloc

  • 33: 32008da = 31: 642dd70 transport: optionally disable side-band-64k

  • 37: f4fedf9 = 32: dde4f9e mingw: demonstrate a git add issue with NTFS junctions

  • 36: 4e89f15 = 33: ca0956c mingw: ensure valid CTYPE

  • 39: a8fdf07 = 34: 9b88964 strbuf_realpath(): use platform-dependent API if available

  • 38: 96a39ed = 35: e4abf1f mingw: allow git.exe to be used instead of the "Git wrapper"

  • 34: b523461 = 36: 677fb13 mingw: do resolve symlinks in getcwd()

  • 35: 7c50535 = 37: ecdad99 mingw: fix fatal error working on mapped network drives on Windows

  • 42: 81ad143 = 38: aaa5af5 clink.pl: fix MSVC compile script to handle libcurl-d.lib

  • 43: f0e3e10 = 39: 513adfe mingw: implement a platform-specific strbuf_realpath()

  • 44: ee4dab2 = 40: b5f7d40 t5505/t5516: allow running without .git/branches/ in the templates

  • 45: 52468a9 = 41: b4c7991 t5505/t5516: fix white-space around redirectors

  • 40: e1faeb2 = 42: 7cac36b mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system directory

  • 41: 7a53378 = 43: ee85299 http: use new "best effort" strategy for Secure Channel revoke checking

  • 46: 9b44f80 = 44: 8167765 t3701: verify that we can add lots of files interactively

  • 47: dc25fb7 = 45: f240368 commit: accept "scissors" with CR/LF line endings

  • 48: 06cc302 = 46: 214eca2 t0014: fix indentation

  • 50: db5e4c4 = 47: cab6ce7 clink.pl: fix libexpatd.lib link error when using MSVC

  • 51: 9653b88 = 48: 09f5e9c Makefile: clean up .ilk files when MSVC=1

  • 52: 8c18902 = 49: d40651e vcbuild: add support for compiling Windows resource files

  • 54: 67e9a44 = 50: c596235 config.mak.uname: add git.rc to MSVC builds

  • 56: 7ce07e4 = 51: 6dbb0ec clink.pl: ignore no-stack-protector arg on MSVC=1 builds

  • 49: 48a6af3 = 52: fbc5b00 git-gui: accommodate for intent-to-add files

  • 53: de11061 = 53: fbacfdc vcpkg_install: detect lack of Git

  • 55: d712104 = 54: 081df17 vcpkg_install: add comment regarding slow network connections

  • 57: cf7c13c = 55: 456013b vcbuild: install ARM64 dependencies when building ARM64 binaries

  • 59: f3f4d70 = 56: bcf4ed2 vcbuild: add an option to install individual 'features'

  • 61: 4f03e2c = 57: 8718552 cmake: allow building for Windows/ARM64

  • 62: 9cdf047 ! 58: 47d8085 ci(vs-build) also build Windows/ARM64 artifacts

    @@ .github/workflows/main.yml: jobs:
     +      group: vs-build-${{ github.ref }}-${{ matrix.arch }}
            cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
          steps:
    -     - uses: actions/checkout@v4
    +     - uses: actions/checkout@v5
     @@ .github/workflows/main.yml: jobs:
            uses: microsoft/setup-msbuild@v2
          - name: copy dlls to root
    @@ .github/workflows/main.yml: jobs:
          name: win+VS test
     @@ .github/workflows/main.yml: jobs:
          - name: download tracked files and build artifacts
    -       uses: actions/download-artifact@v4
    +       uses: actions/download-artifact@v5
            with:
     -        name: vs-artifacts
     +        name: vs-artifacts-x64
  • 58: 470f776 = 59: 0440cb8 clink.pl: move default linker options for MSVC=1 builds

  • 63: 2199733 = 60: bcb905b Add schannel to curl installation

  • 60: c136430 = 61: 8f5f1de cmake: install headless-git.

  • 64: 41836ed = 62: 7de755e cmake(): allow setting HOST_CPU for cross-compilation

  • 65: 0eb4b00 = 63: 6ab3af1 subtree: update contrib/subtree test target

  • 69: 2e7b2db = 64: 3b5a7c3 CMake: default Visual Studio generator has changed

  • 66: d312c23 = 65: ad55d14 mingw: allow for longer paths in parse_interpreter()

  • 67: 182c1ce = 66: 8eeef6f compat/vcbuild: document preferred way to build in Visual Studio

  • 68: acb01ce = 67: cc69694 http: optionally send SSL client certificate

  • 72: 4ba9ed3 = 68: a2fde06 ci: run contrib/subtree tests in CI builds

  • 75: a41c95f = 69: 818e3bd hash-object: demonstrate a >4GB/LLP64 problem

  • 76: 4d4c3ce = 70: c06f428 object-file.c: use size_t for header lengths

  • 77: 8a999e2 = 71: 0d01208 hash algorithms: use size_t for section lengths

  • 70: d6a51fb = 72: 9836977 .gitignore: add Visual Studio CMakeSetting.json file

  • 78: dc59943 = 73: 557305d hash-object --stdin: verify that it works with >4GB/LLP64

  • 71: cd69d2e = 74: b4d9805 CMakeLists: add default "x64-windows" arch for Visual Studio

  • 79: a022cf1 = 75: 563c0d6 hash-object: add another >4GB/LLP64 test case

  • 73: fbd644e = 76: ca1adae CMake: show Win32 and Generator_platform build-option values

  • 74: 55c4198 = 77: 52942df init: do parse all core.* settings early

  • 80: 48ec2cf = 78: 8623269 setup: properly use "%(prefix)/" when in WSL

  • 83: b994e76 = 79: 1097e9b Add config option windows.appendAtomically

  • 81: 520110d = 80: 9405bf4 hash-object: add a >4GB/LLP64 test case using filtered input

  • 82: a85964f = 81: c79e7d5 compat/mingw.c: do not warn when failing to get owner

  • 85: b9ed276 = 82: 6aaa3bd mingw: $env:TERM="xterm-256color" for newer OSes

  • 86: 6905977 = 83: 7cbf187 winansi: check result and Buffer before using Name

  • 87: ebe433c = 84: bf9ba85 mingw: change core.fsyncObjectFiles = 1 by default

  • 84: d21cf28 = 85: 0a8c063 MinGW: link as terminal server aware

  • 90: 6c106de = 86: 66f453b http: optionally load libcurl lazily

  • 91: b4ae94b = 87: f830b1e http: support lazy-loading libcurl also on Windows

  • 92: 20c7fe9 = 88: fd97bab http: when loading libcurl lazily, allow for multiple SSL backends

  • 88: 4cd2742 = 89: 1e9c1c3 Fix Windows version resources

  • 89: 5f60a84 = 90: 10884da status: fix for old-style submodules with commondir

  • 93: ebb9668 = 91: 63830e4 windows: skip linking git-<command> for built-ins

  • 94: 311a237 = 92: 57654d4 mingw: do load libcurl dynamically by default

  • 95: 6ce01ae = 93: 3b78503 Add a GitHub workflow to verify that Git/Scalar work in Nano Server

  • 96: 439ff95 = 94: f95f4ba mingw: suggest windows.appendAtomically in more cases

  • 97: d8834e2 = 95: 00f22b1 win32: use native ANSI sequence processing, if possible

  • 98: a082fa0 = 96: 6596645 git.rc: include winuser.h

  • 99: d8c36b4 = 97: 95a077f common-main.c: fflush stdout buffer upon exit

  • 101: 366e52a = 98: 0274d9e ci: work around a problem with HTTP/2 vs libcurl v8.10.0

  • 102: d43207f = 99: 5703eb4 revision: create mark_trees_uninteresting_dense()

  • 103: 9739217 = 100: b4295cd survey: stub in new experimental 'git-survey' command

  • 100: 31648e8 = 101: 7cada41 t5601/t7406(mingw): do run tests with symlink support

  • 105: 7cdd124 = 102: 26f28f4 win32: ensure that localtime_r() is declared even in i686 builds

  • 106: 18dcf0f = 103: 1cd294f Fallback to AppData if XDG_CONFIG_HOME is unset

  • 107: f34b55f = 104: 778b516 run-command: be helpful with Git LFS fails on Windows 7

  • 104: 97b7e6c = 105: 6a4a1f1 survey: add command line opts to select references

  • 108: 3517950 = 106: ffaf469 survey: start pretty printing data in table form

  • 109: 3fb91e9 = 107: c8836a7 survey: add object count summary

  • 110: 48e88cc = 108: 20f25dd survey: summarize total sizes by object type

  • 111: 67cb37e = 109: 4632f04 survey: show progress during object walk

  • 112: 8d289b6 = 110: 7ebf4b3 survey: add ability to track prioritized lists

  • 113: 8f9f1e8 = 111: f6f250f survey: add report of "largest" paths

  • 114: 1bf6d19 = 112: 16cad39 survey: add --top= option and config

  • 115: d6e28bd = 113: 64fbfff mingw: make sure errno is set correctly when socket operations fail

  • 116: 40d6f8b = 114: ba05f2f survey: clearly note the experimental nature in the output

  • 117: 2895407 = 115: 88eb4d4 compat/mingw: handle WSA errors in strerror

  • 118: bc9d921 = 116: 53aa240 compat/mingw: drop outdated comment

  • 119: 60c8674 = 117: 36eccac t0301: actually test credential-cache on Windows

  • 120: 00bae2c = 118: ec180e4 credential-cache: handle ECONNREFUSED gracefully

  • 121: bba5cb9 = 119: b345652 max_tree_depth: lower it for clangarm64 on Windows

  • 122: a7ae963 = 120: 3f15959 reftable: do make sure to use custom allocators

  • 123: bfea0fa = 121: 78a62de check-whitespace: avoid alerts about upstream commits

  • 124: f5795a6 (upstream: d014fb2) < -: ------------ build(deps): bump actions/download-artifact from 4 to 5

  • 125: 5ace416 (upstream: 63541ed) < -: ------------ build(deps): bump actions/checkout from 4 to 5

  • 126: bb1fd4e (upstream: b195b95) < -: ------------ build(deps): bump actions/setup-python from 5 to 6

  • 127: 2f600b0 (upstream: 3860985) < -: ------------ refs: forbid clang to complain about unreachable code

  • 128: 8ae6103 = 122: b105384 mingw: avoid the comma operator

  • 129: 75ff1cb = 123: d905624 wincred: Avoid memory corruption

  • 130: 538ad53 (upstream: 96978d7) < -: ------------ build(deps): bump actions/github-script from 7 to 8

  • 131: d9079a1 = 124: 1ac75e7 git-gui: provide question helper for retry fallback on Windows

  • 132: f08d555 = 125: f04fe9b git gui: set GIT_ASKPASS=git-gui--askpass if not set yet

  • 133: 841a8cf = 126: 5760c6e git-gui--askyesno: fix funny text wrapping

  • 134: 54a32ad = 127: aee4f8f git-gui--askyesno: allow overriding the window title

  • 135: ccd4de7 = 128: afe8b8a git-gui--askyesno (mingw): use Git for Windows' icon, if available

  • 136: a3a5cf7 = 129: afddb28 Win32: make FILETIME conversion functions public

  • 137: ac61f86 = 130: 542d608 Win32: dirent.c: Move opendir down

  • 138: 4ad5b9f = 131: e019d5a mingw: make the dirent implementation pluggable

  • 139: ccf6735 = 132: 75a4afc Win32: make the lstat implementation pluggable

  • 140: f6efc8f = 133: 02a1afe mingw: add infrastructure for read-only file system level caches

  • 141: 6a0b97b = 134: e5267cb mingw: add a cache below mingw's lstat and dirent implementations

  • 142: 3d9d6c9 = 135: 7fa25b2 fscache: load directories only once

  • 143: 47fd248 = 136: 271aa38 fscache: add key for GIT_TRACE_FSCACHE

  • 144: d21c8a2 = 137: 2ed1272 fscache: remember not-found directories

  • 145: 76b5215 = 138: 6a6f958 fscache: add a test for the dir-not-found optimization

  • 146: 3611e47 = 139: d6e1c12 add: use preload-index and fscache for performance

  • 147: c02f837 = 140: 1c71ed0 dir.c: make add_excludes aware of fscache during status

  • 148: 8b4f850 = 141: 07a12fa fscache: make fscache_enabled() public

  • 149: 5dc8883 = 142: f049733 dir.c: regression fix for add_excludes with fscache

  • 150: db0d6ee = 143: d1d7ebe fetch-pack.c: enable fscache for stats under .git/objects

  • 151: 12fcd60 = 144: 3dc226f checkout.c: enable fscache for checkout again

  • 152: 4b2e017 = 145: 8aeff6f Enable the filesystem cache (fscache) in refresh_index().

  • 153: 4f1208d = 146: 7c096a4 fscache: use FindFirstFileExW to avoid retrieving the short name

  • 154: c41e8c7 = 147: 280ec8d fscache: add GIT_TEST_FSCACHE support

  • 155: 1441685 = 148: b5888fb fscache: add fscache hit statistics

  • 156: ff0bc42 = 149: 48a0f62 unpack-trees: enable fscache for sparse-checkout

  • 157: 3a93731 = 150: 97a16c9 status: disable and free fscache at the end of the status command

  • 158: 75dbe44 = 151: 232a0c2 mem_pool: add GIT_TRACE_MEMPOOL support

  • 159: 0f600cf = 152: 65322b5 fscache: fscache takes an initial size

  • 160: e7c83f3 = 153: b1f344b fscache: update fscache to be thread specific instead of global

  • 161: fc2411a = 154: b823714 fscache: teach fscache to use mempool

  • 162: 0bc75d5 = 155: 6799656 fscache: make fscache_enable() thread safe

  • 163: 8a2350f = 156: 8ee062d fscache: teach fscache to use NtQueryDirectoryFile

  • 164: 4a1d719 = 157: 3e0848c fscache: remember the reparse tag for each entry

  • 165: 35c5d66 = 158: 246a4e3 fscache: implement an FSCache-aware is_mount_point()

  • 166: ebeac48 = 159: 529d28c clean: make use of FSCache

  • 167: 56c269a = 160: e683b9a pack-objects (mingw): demonstrate a segmentation fault with large deltas

  • 168: 34fff13 = 161: 4703d0e mingw: support long paths

  • 169: cec4a54 = 162: 6547977 Win32: fix 'lstat("dir/")' with long paths

  • 170: dd2a6db = 163: bc34cd2 win32(long path support): leave drive-less absolute paths intact

  • 171: ac563d5 = 164: 341494f compat/fsmonitor/fsm-*-win32: support long paths

  • 172: 9e5cedd = 165: c3eb596 clean: suggest using core.longPaths if paths are too long to remove

  • 173: 8791d96 = 166: 6772d60 mingw: Support git_terminal_prompt with more terminals

  • 174: 5c1d475 = 167: 4a7fae8 compat/terminal.c: only use the Windows console if bash 'read -r' fails

  • 175: d40863f = 168: 9f9ce12 mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method

  • 176: 2a51817 = 169: 1f4d3a6 strbuf_readlink: don't call readlink twice if hint is the exact link size

  • 177: 09d0069 = 170: 1b3ab9a strbuf_readlink: support link targets that exceed PATH_MAX

  • 178: 5482c12 = 171: e0ea4c2 lockfile.c: use is_dir_sep() instead of hardcoded '/' checks

  • 179: 2c4498e = 172: 42912d4 Win32: don't call GetFileAttributes twice in mingw_lstat()

  • 180: ceff3e9 = 173: 1f99439 Win32: implement stat() with symlink support

  • 181: 2a9d291 = 174: 5f4a6a4 Win32: remove separate do_lstat() function

  • 182: 31d9e0c = 175: f84ce7f Win32: let mingw_lstat() error early upon problems with reparse points

  • 183: 3ce727d = 176: e5e4ea9 mingw: teach fscache and dirent about symlinks

  • 184: 0a615a7 = 177: 51b009e Win32: lstat(): return adequate stat.st_size for symlinks

  • 185: 652fb8c = 178: d6e6e29 Win32: factor out retry logic

  • 186: b775870 = 179: 94655c7 Win32: change default of 'core.symlinks' to false

  • 187: 68c198c = 180: 79c8553 Win32: add symlink-specific error codes

  • 188: 917b2cf = 181: 98c4afe Win32: mingw_unlink: support symlinks to directories

  • 189: 213dc02 = 182: 457dc39 Win32: mingw_rename: support renaming symlinks

  • 190: c784540 = 183: ade12d3 Win32: mingw_chdir: change to symlink-resolved directory

  • 191: 5adf32b = 184: 5ae7d29 Win32: implement readlink()

  • 192: 633192b = 185: 154ad49 mingw: lstat: compute correct size for symlinks

  • 193: 605e9f1 = 186: 459c1cc Win32: implement basic symlink() functionality (file symlinks only)

  • 194: 75f5522 = 187: 4f75085 Win32: symlink: add support for symlinks to directories

  • 195: 21d1546 = 188: 4ab296f mingw: try to create symlinks without elevated permissions

  • 196: cb31c87 = 189: 8ac5c58 mingw: emulate stat() a little more faithfully

  • 197: 5c2db36 = 190: ccdf9bf mingw: special-case index entries for symlinks with buggy size

  • 198: 05959e7 = 191: 340b04a mingw: introduce code to detect whether we're inside a Windows container

  • 199: 83d0523 = 192: 854bdc6 mingw: when running in a Windows container, try to rename() harder

  • 201: 3c3314b = 193: 1e51c2e Win32: symlink: move phantom symlink creation to a separate function

  • 200: 90d1fe6 = 194: 03cf6a6 mingw: move the file_attr_to_st_mode() function definition

  • 203: 5f1a64f = 195: 03f9e72 Introduce helper to create symlinks that knows about index_state

  • 202: f5b4b2e = 196: dc350a1 mingw: Windows Docker volumes are not symbolic links

  • 205: c02e516 = 197: c68b797 mingw: allow to specify the symlink type in .gitattributes

  • 204: 30315d3 = 198: e7ab56a mingw: work around rename() failing on a read-only file

  • 206: 5dc3a4a = 199: 74eaa8c Win32: symlink: add test for symlink attribute

  • 207: 659bf91 = 200: a945010 mingw: explicitly specify with which cmd to prefix the cmdline

  • 208: de7a140 = 201: bfd9ff9 mingw: when path_lookup() failed, try BusyBox

  • 209: 3ef3784 = 202: 89ddc23 test-tool: learn to act as a drop-in replacement for iconv

  • 210: 71e5b61 = 203: ee5fc68 tests(mingw): if iconv is unavailable, use test-helper --iconv

  • 211: e2e498f = 204: 03da4d6 gitattributes: mark .png files as binary

  • 212: 328f004 = 205: 697cbf4 tests: move test PNGs into t/lib-diff/

  • 213: d22cc90 = 206: b396c21 tests: only override sort & find if there are usable ones in /usr/bin/

  • 214: 9134e18 = 207: 49eb59d tests: use the correct path separator with BusyBox

  • 215: ac51eb9 = 208: 5c9b85f mingw: only use Bash-ism builtin pwd -W when available

  • 216: 7dff0b8 = 209: 51fe8dc tests (mingw): remove Bash-specific pwd option

  • 217: 4a8a923 = 210: fc3910a test-lib: add BUSYBOX prerequisite

  • 218: 111651a = 211: d0ae914 t5003: use binary file from t/lib-diff/

  • 219: 2173ca2 = 212: 1fab782 t5532: workaround for BusyBox on Windows

  • 220: 5d0f5c7 = 213: aa1ea25 t5605: special-case hardlink test for BusyBox-w32

  • 221: ab38fed = 214: 0185f56 t5813: allow for $PWD to be a Windows path

  • 222: 062f413 = 215: 6bf3a28 t9200: skip tests when $PWD contains a colon

  • 223: 4ff171f = 216: a7c03a1 mingw: add a Makefile target to copy test artifacts

  • 225: cb4350c = 217: c18c474 mingw: kill child processes in a gentler way

  • 226: 559b906 = 218: 3c0040e mingw: do not call xutftowcs_path in mingw_mktemp

  • 224: b381054 = 219: 561554b mingw: optionally enable wsl compability file mode bits

  • 227: 9d0703f = 220: 5efb26b mingw: really handle SIGINT

  • 235: d131409 = 221: c2d851e Add a GitHub workflow to monitor component updates

  • 228: f37aaab = 222: 3781091 Partially un-revert "editor: save and reset terminal after calling EDITOR"

  • 229: 5e4a83a = 223: b846014 reset: reinstate support for the deprecated --stdin option

  • 237: caf5d0d = 224: bc05c51 fsmonitor: reintroduce core.useBuiltinFSMonitor

  • 230: 39be204 = 225: 1559b38 Describe Git for Windows' architecture [no ci]

  • 231: 6d96a5f = 226: 8f60a54 Modify the Code of Conduct for Git for Windows

  • 232: 656f8f7 = 227: 68aafe1 CONTRIBUTING.md: add guide for first-time contributors

  • 233: 5d0e310 = 228: 0c84a1d README.md: Add a Windows-specific preamble

  • 234: 56ea327 = 229: 2078f89 Add an issue template

  • 236: 5b39bc0 = 230: b10a6f4 Modify the GitHub Pull Request template (to reflect Git for Windows)

  • 238: 9123088 = 231: e93b2bc dependabot: help keeping GitHub Actions versions up to date

  • 239: 2b704ab = 232: 736564b SECURITY.md: document Git for Windows' policies

  • 240: 3b8dce0 = 233: bd2ecba diff: stop output garbled message in dry run mode

  • 241: 1454f0a (upstream: 623f7af) < -: ------------ diff: restore redirection to /dev/null for diff_from_contents

@dscho dscho added this to the Next release milestone Oct 27, 2025
@dscho
Copy link
Member Author

dscho commented Oct 28, 2025

/git-artifacts

The tag-git workflow run was started

@gitforwindowshelper
Copy link

Validate the installer manually

The installer was built successfully;
Please download, install, and run through the pre-flight check-list.
@dscho ☝️

@dscho
Copy link
Member Author

dscho commented Oct 28, 2025

/release

The release-git workflow run was started

@gitforwindowshelper
Copy link

@dscho, please Share on Bluesky and send the announcement email.

@gitforwindowshelper gitforwindowshelper bot merged commit bd2ecba into main Oct 28, 2025
54 checks passed
@gitforwindowshelper gitforwindowshelper bot deleted the rebase-to-v2.51.2 branch October 28, 2025 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[New git version] v2.51.2