Skip to content

Conversation

@dscho
Copy link
Member

@dscho dscho commented Nov 17, 2025

The usual thing.

PhilipOakley and others added 30 commits November 17, 2025 17:56
Correct some wording and inform users regarding the Visual Studio
changes (from V16.6) to the default generator.

Subsequent commits ensure that Git for Windows can be directly
opened in modern Visual Studio without needing special configuration
of the CMakeLists settings.

It appeares that internally Visual Studio creates it's own version of the
.sln file (etc.) for extension tools that expect them.

The large number of references below document the shifting of Visual Studio
default and CMake setting options.

refs: https://docs.microsoft.com/en-us/search/?scope=C%2B%2B&view=msvc-150&terms=Ninja

1. https://docs.microsoft.com/en-us/cpp/linux/cmake-linux-configure?view=msvc-160
(note the linux bit)
 "In Visual Studio 2019 version 16.6 or later ***, Ninja is the default
generator for configurations targeting a remote system or WSL. For more
information, see this post on the C++ Team Blog
[https://devblogs.microsoft.com/cppblog/linux-development-with-visual-studio-first-class-support-for-gdbserver-improved-build-times-with-ninja-and-updates-to-the-connection-manager/].

For more information about these settings, see CMakeSettings.json reference
[https://docs.microsoft.com/en-us/cpp/build/cmakesettings-reference?view=msvc-160]."

2. https://docs.microsoft.com/en-us/cpp/build/cmake-presets-vs?view=msvc-160
"CMake supports two files that allow users to specify common configure,
build, and test options and share them with others: CMakePresets.json
and CMakeUserPresets.json."

" Both files are supported in Visual Studio 2019 version 16.10 or later.
***"
3. https://devblogs.microsoft.com/cppblog/linux-development-with-visual-studio-first-class-support-for-gdbserver-improved-build-times-with-ninja-and-updates-to-the-connection-manager/
" Ninja has been the default generator (underlying build system) for
CMake configurations targeting Windows for some time***, but in Visual
Studio 2019 version 16.6 Preview 3*** we added support for Ninja on Linux."

4. https://docs.microsoft.com/en-us/cpp/build/cmakesettings-reference?view=msvc-160
" `generator`: specifies CMake generator to use for this configuration.
May be one of:

    Visual Studio 2019 only:
        Visual Studio 16 2019
        Visual Studio 16 2019 Win64
        Visual Studio 16 2019 ARM

    Visual Studio 2017 and later:
        Visual Studio 15 2017
        Visual Studio 15 2017 Win64
        Visual Studio 15 2017 ARM
        Visual Studio 14 2015
        Visual Studio 14 2015 Win64
        Visual Studio 14 2015 ARM
        Unix Makefiles
        Ninja

Because Ninja is designed for fast build speeds instead of flexibility
and function, it is set as the default. However, some CMake projects may
be unable to correctly build using Ninja. If this occurs, you can
instruct CMake to generate Visual Studio projects instead.

To specify a Visual Studio generator in Visual Studio 2017, open the
settings editor from the main menu by choosing CMake | Change CMake
Settings. Delete "Ninja" and type "V". This activates IntelliSense,
which enables you to choose the generator you want."

"To specify a Visual Studio generator in Visual Studio 2019, right-click
on the CMakeLists.txt file in Solution Explorer and choose CMake
Settings for project > Show Advanced Settings > CMake Generator.

When the active configuration specifies a Visual Studio generator, by
default MSBuild.exe is invoked with` -m -v:minimal` arguments."

5. https://docs.microsoft.com/en-us/cpp/build/cmake-presets-vs?view=msvc-160#enable-cmakepresetsjson-integration-in-visual-studio-2019
"Enable CMakePresets.json integration in Visual Studio 2019

CMakePresets.json integration isn't enabled by default in Visual Studio
2019. You can enable it for all CMake projects in Tools > Options >
CMake > General: (tick a box)" ... see more.

6. https://docs.microsoft.com/en-us/cpp/build/cmakesettings-reference?view=msvc-140
(whichever v140 is..)
"CMake projects are supported in Visual Studio 2017 and later."

7. https://docs.microsoft.com/en-us/cpp/overview/what-s-new-for-cpp-2017?view=msvc-150
"Support added for the CMake Ninja generator."

8. https://docs.microsoft.com/en-us/cpp/overview/what-s-new-for-cpp-2017?view=msvc-150#cmake-support-via-open-folder
"CMake support via Open Folder
Visual Studio 2017 introduces support for using CMake projects without
converting to MSBuild project files (.vcxproj). For more information,
see CMake projects in Visual
Studio[https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-150].
Opening CMake projects with Open Folder automatically configures the
environment for C++ editing, building, and debugging." ... +more!

9. https://docs.microsoft.com/en-us/cpp/build/cmake-presets-vs?view=msvc-160#supported-cmake-and-cmakepresetsjson-versions
"Visual Studio reads and evaluates CMakePresets.json and
CMakeUserPresets.json itself and doesn't invoke CMake directly with the
--preset option. So, CMake version 3.20 or later isn't strictly required
when you're building with CMakePresets.json inside Visual Studio. We
recommend using CMake version 3.14 or later."

10. https://docs.microsoft.com/en-us/cpp/build/cmake-presets-vs?view=msvc-160#enable-cmakepresetsjson-integration-in-visual-studio-2019
"If you don't want to enable CMakePresets.json integration for all CMake
projects, you can enable CMakePresets.json integration for a single
CMake project by adding a CMakePresets.json file to the root of the open
folder. You must close and reopen the folder in Visual Studio to
activate the integration.

11. https://docs.microsoft.com/en-us/cpp/build/cmake-presets-vs?view=msvc-160#default-configure-presets
***(doesn't actually say which version..)
"Default Configure Presets
If no CMakePresets.json or CMakeUserPresets.json file exists, or if
CMakePresets.json or CMakeUserPresets.json is invalid, Visual Studio
will fall back*** on the following default Configure Presets:

Windows example
JSON
{
  "name": "windows-default",
  "displayName": "Windows x64 Debug",
  "description": "Sets Ninja generator, compilers, x64 architecture,
build and install directory, debug build type",
  "generator": "Ninja",
  "binaryDir": "${sourceDir}/out/build/${presetName}",
  "architecture": {
    "value": "x64",
    "strategy": "external"
  },
  "cacheVariables": {
    "CMAKE_BUILD_TYPE": "Debug",
    "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
  },
  "vendor": {
    "microsoft.com/VisualStudioSettings/CMake/1.0": {
      "hostOS": [ "Windows" ]
    }
  }
},
"

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

Signed-off-by: Philip Oakley <philipoakley@iee.email>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Windows 10 version 1511 (also known as Anniversary Update), according to
https://learn.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences
introduced native support for ANSI sequence processing. This allows
using colors from the entire 24-bit color range.

All we need to do is test whether the console's "virtual processing
support" can be enabled. If it can, we do not even need to start the
`console_thread` to handle ANSI sequences.

Or, almost all we need to do: When `console_thread()` does its work, it
uses the Unicode-aware `write_console()` function to write to the Win32
Console, which supports Git for Windows' implicit convention that all
text that is written is encoded in UTF-8. The same is not necessarily
true if native ANSI sequence processing is used, as the output is then
subject to the current code page. Let's ensure that the code page is set
to `CP_UTF8` as long as Git writes to it.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
winuser.h contains the definition of RT_MANIFEST that our LLVM based
toolchain needs to understand that we want to embed
compat/win32/git.manifest as an application manifest. It currently just
embeds it as additional data that Windows doesn't understand.

This also helps our GCC based toolchain understand that we only want one
copy embedded. It currently embeds one working assembly manifest and one
nearly identical, but useless copy as additional data.

This also teaches our Visual Studio based buildsystems to pick up the
manifest file from git.rc. This means we don't have to explicitly specify
it in contrib/buildsystems/Generators/Vcxproj.pm anymore. Slightly
counter-intuitively this also means we have to explicitly tell Cmake
not to embed a default manifest.

This fixes #4707

Signed-off-by: Matthias Aßhauer <mha1993@live.de>
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Philip Oakley and others added 19 commits November 17, 2025 18:01
Git for Windows accepts pull requests; Core Git does not. Therefore we
need to adjust the template (because it only matches core Git's
project management style, not ours).

Also: direct Git for Windows enhancements to their contributions page,
space out the text for easy reading, and clarify that the mailing list
is plain text, not HTML.

Signed-off-by: Philip Oakley <philipoakley@iee.org>
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>
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>
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>
@dscho dscho self-assigned this Nov 17, 2025
@dscho
Copy link
Member Author

dscho commented Nov 17, 2025

Range-diff relative to main
  • 1: 335f11f = 1: 962ce4c sideband: mask control characters

  • 2: cc9009b = 2: 8b6de36 sideband: introduce an "escape hatch" to allow control characters

  • 3: d6defa2 = 3: 2beea47 sideband: do allow ANSI color sequences by default

  • 4: 867cdbf = 4: 3e510fd unix-socket: avoid leak when initialization fails

  • 5: 9bbf899 = 5: 468939d grep: prevent ^$ false match at end of file

  • 6: 5098cc8 = 6: 050f63d t9350: point out that refs are not updated correctly

  • 7: d0e98ff = 7: 46bbb03 transport-helper: add trailing --

  • 8: b665ff2 = 8: 03ad2b2 remote-helper: check helper status after import/export

  • 9: 801c8b3 = 9: 6f8fda1 mingw: demonstrate a problem with certain absolute paths

  • 10: 0fe17e1 = 10: 9fe4cf6 Always auto-gc after calling a fast-import transport

  • 11: 6b0b629 = 11: 7862b33 mingw: allow absolute paths without drive prefix

  • 12: 2a08457 = 12: 72fd7cb mingw: include the Python parts in the build

  • 13: 8df6373 = 13: d56d911 win32/pthread: avoid name clashes with winpthread

  • 14: c6a34ed = 14: 3bb787c git-compat-util: avoid redeclaring _DEFAULT_SOURCE

  • 19: fffb2f0 = 15: 8215e9c clean: do not traverse mount points

  • 15: 2b32869 = 16: f791a28 Import the source code of mimalloc v2.2.4

  • 22: ac94656 = 17: cf84f7a clean: remove mount points when possible

  • 16: abae31b = 18: 8bf895f mimalloc: adjust for building inside Git

  • 18: 6055135 = 19: 0dc1144 mimalloc: offer a build-time option to enable it

  • 21: 3b9347d = 20: dfd3928 mingw: use mimalloc

  • 23: f0873ab = 21: b09994e transport: optionally disable side-band-64k

  • 24: c504a6c = 22: 98a1c8e mingw: do resolve symlinks in getcwd()

  • 25: 8d14f4c = 23: 477a1da mingw: fix fatal error working on mapped network drives on Windows

  • 26: 47f657a = 24: 16ca5a9 clink.pl: fix MSVC compile script to handle libcurl-d.lib

  • 17: 4ffca90 = 25: 756af37 mingw: demonstrate a git add issue with NTFS junctions

  • 20: 3d91f55 = 26: e0b3fca strbuf_realpath(): use platform-dependent API if available

  • 28: 8bdd5c1 = 27: 8700afe mingw: ensure valid CTYPE

  • 27: 4c0f82e = 28: e26c17c mingw: implement a platform-specific strbuf_realpath()

  • 29: 22d5ab7 = 29: c822585 t5505/t5516: allow running without .git/branches/ in the templates

  • 30: 71fc876 = 30: 373e851 mingw: allow git.exe to be used instead of the "Git wrapper"

  • 31: 808089b = 31: a4852d4 t5505/t5516: fix white-space around redirectors

  • 32: 45c4db5 = 32: c7533f1 mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system directory

  • 33: f5c751c = 33: 52ac141 http: use new "best effort" strategy for Secure Channel revoke checking

  • 34: 450d892 = 34: 8cf8ef1 t3701: verify that we can add lots of files interactively

  • 40: 64ab2f0 = 35: d5b7ce3 clink.pl: fix libexpatd.lib link error when using MSVC

  • 35: 7f098f6 = 36: 6461f25 commit: accept "scissors" with CR/LF line endings

  • 36: 88642d9 = 37: a96f2e4 t0014: fix indentation

  • 37: 83aba9c = 38: 8bdb8db git-gui: accommodate for intent-to-add files

  • 42: 4ec4fc3 = 39: f02d652 Makefile: clean up .ilk files when MSVC=1

  • 44: 569fb34 = 40: 9b850e0 vcbuild: add support for compiling Windows resource files

  • 46: 34e4cea = 41: 5cbcb6f config.mak.uname: add git.rc to MSVC builds

  • 48: 879fd51 = 42: b261826 clink.pl: ignore no-stack-protector arg on MSVC=1 builds

  • 38: 0d0056a = 43: 1363ae9 vcpkg_install: detect lack of Git

  • 50: a96d4e8 = 44: e1f7e03 clink.pl: move default linker options for MSVC=1 builds

  • 39: ed74f01 = 45: 09187cf vcpkg_install: add comment regarding slow network connections

  • 52: 2b76529 = 46: da59d44 cmake: install headless-git.

  • 41: 9d41771 = 47: eac5912 vcbuild: install ARM64 dependencies when building ARM64 binaries

  • 43: bf394d1 = 48: 7b43b20 vcbuild: add an option to install individual 'features'

  • 45: aad744b = 49: e8d595e cmake: allow building for Windows/ARM64

  • 47: f89cbb5 = 50: da5080e ci(vs-build) also build Windows/ARM64 artifacts

  • 49: 4077cde = 51: 9915328 Add schannel to curl installation

  • 51: 55c27a3 = 52: 8bc5cb0 cmake(): allow setting HOST_CPU for cross-compilation

  • 61: 8e2694d = 53: 782cd15 subtree: update contrib/subtree test target

  • 53: 521e558 = 54: af14bae mingw: allow for longer paths in parse_interpreter()

  • 54: 1f17005 = 55: 07912b1 compat/vcbuild: document preferred way to build in Visual Studio

  • 65: 9879dac = 56: 1fcc7fc http: optionally send SSL client certificate

  • 57: 90da186 = 57: 362ccba CMake: default Visual Studio generator has changed

  • 59: 274ecff = 58: 18080f7 .gitignore: add Visual Studio CMakeSetting.json file

  • 62: 320bb05 = 59: 7331098 CMakeLists: add default "x64-windows" arch for Visual Studio

  • 66: 454c928 = 60: 7048600 ci: run contrib/subtree tests in CI builds

  • 67: 98c85b1 = 61: 9ccd499 CMake: show Win32 and Generator_platform build-option values

  • 68: 99328e2 = 62: 54ba8da init: do parse all core.* settings early

  • 55: 9e0255c = 63: dc8b7e0 hash-object: demonstrate a >4GB/LLP64 problem

  • 56: 7a17591 = 64: dd895b7 object-file.c: use size_t for header lengths

  • 58: 14c9352 = 65: 71c7eba hash algorithms: use size_t for section lengths

  • 60: 6db87ef = 66: c6c20a5 hash-object --stdin: verify that it works with >4GB/LLP64

  • 63: 1c2a5b8 = 67: f384eab hash-object: add another >4GB/LLP64 test case

  • 64: d1bc2e3 = 68: 03db3ec setup: properly use "%(prefix)/" when in WSL

  • 69: da5d505 = 69: fb0c951 hash-object: add a >4GB/LLP64 test case using filtered input

  • 70: e988c37 = 70: 6c55a5e compat/mingw.c: do not warn when failing to get owner

  • 75: bdda202 = 71: a92c810 Add config option windows.appendAtomically

  • 72: 6814655 = 72: 0b9a0f4 MinGW: link as terminal server aware

  • 71: db272bd = 73: 2b9cae2 mingw: $env:TERM="xterm-256color" for newer OSes

  • 77: 8de5015 = 74: 8bec4e5 winansi: check result and Buffer before using Name

  • 78: 449ec08 = 75: 3b22b60 mingw: change core.fsyncObjectFiles = 1 by default

  • 79: b5098bd = 76: e2f7a10 Fix Windows version resources

  • 80: 0275b1e = 77: 84b80ef status: fix for old-style submodules with commondir

  • 73: a27eb56 = 78: e7e8992 http: optionally load libcurl lazily

  • 74: 231c811 = 79: cb8801f http: support lazy-loading libcurl also on Windows

  • 76: b8673e1 = 80: 5c9965e http: when loading libcurl lazily, allow for multiple SSL backends

  • 81: 37b91ee = 81: e7af370 windows: skip linking git-<command> for built-ins

  • 82: 296ad26 = 82: 8d177c9 mingw: do load libcurl dynamically by default

  • 83: 11944fc = 83: 20a33f6 Add a GitHub workflow to verify that Git/Scalar work in Nano Server

  • 84: eee68dd = 84: 7bb3751 mingw: suggest windows.appendAtomically in more cases

  • 85: b433252 = 85: 81a2964 win32: use native ANSI sequence processing, if possible

  • 86: cfa7eda = 86: d9920ea git.rc: include winuser.h

  • 97: 5a1b572 = 87: 1a2fd28 common-main.c: fflush stdout buffer upon exit

  • 98: 892fc87 = 88: 5986729 t5601/t7406(mingw): do run tests with symlink support

  • 99: efda001 = 89: 8332d06 win32: ensure that localtime_r() is declared even in i686 builds

  • 87: 6e71462 = 90: e16d02b ci: work around a problem with HTTP/2 vs libcurl v8.10.0

  • 100: b096601 = 91: ec071b0 Fallback to AppData if XDG_CONFIG_HOME is unset

  • 101: 6a3f8ae = 92: 1a38026 run-command: be helpful with Git LFS fails on Windows 7

  • 88: 3965197 = 93: f3f18a2 revision: create mark_trees_uninteresting_dense()

  • 89: 35a81e8 = 94: 95df0f6 survey: stub in new experimental 'git-survey' command

  • 90: 11675c0 = 95: f81d8b1 survey: add command line opts to select references

  • 91: bd7464c = 96: af65786 survey: start pretty printing data in table form

  • 92: da5ca45 = 97: 3c4ed6b survey: add object count summary

  • 93: 5c9086a = 98: 192e38c survey: summarize total sizes by object type

  • 94: 4b39ea4 = 99: f78e16f survey: show progress during object walk

  • 95: 9015059 = 100: 22fab6f survey: add ability to track prioritized lists

  • 102: 0193be6 = 101: a0986d5 mingw: make sure errno is set correctly when socket operations fail

  • 96: 3e3384e = 102: f7c6633 survey: add report of "largest" paths

  • 103: 446163f = 103: b460b4f compat/mingw: handle WSA errors in strerror

  • 105: b718c56 = 104: acf11e8 survey: add --top= option and config

  • 104: fb23274 = 105: 27e428f compat/mingw: drop outdated comment

  • 107: c93985f = 106: 4da203a survey: clearly note the experimental nature in the output

  • 106: 44823dc = 107: ace4563 t0301: actually test credential-cache on Windows

  • 108: 91b8686 = 108: 84784be credential-cache: handle ECONNREFUSED gracefully

  • 109: e110125 = 109: 1d52d30 max_tree_depth: lower it for clangarm64 on Windows

  • 110: efc0a84 = 110: 24b3044 reftable: do make sure to use custom allocators

  • 111: 6e30a61 = 111: 201d5dd check-whitespace: avoid alerts about upstream commits

  • 112: 1991ce1 = 112: caa7ba0 mingw: avoid the comma operator

  • 113: 49cf9b2 = 113: a4d3a73 wincred: Avoid memory corruption

  • 114: 1246f75 = 114: 4a21527 cmake: stop trying to build the reftable and xdiff libraries

  • 115: 1d5e24b = 115: 4a6696e ci(dockerized): do show the result of failing tests again

  • 116: 331f450 = 116: 5d9dc33 git-svn: mark it as unsupported by the Git for Windows project

  • 223: 4169c0d ! 117: f1870bb ci(macos): skip the git p4 tests

    @@ Commit message
         a single instance so far where any `git p4` test failure in Git for
         Windows had demonstrated an actionable bug.
     
    +    While upstream Git is confident to have addressed the flakiness of the
    +    `git p4` tests via ffff0bb0dac1 (Use Perforce arm64 binary on macOS CI
    +    jobs, 2025-11-16) (which got slipped in at the 11th hour into the
    +    v2.52.0 release, fast-tracked without ever hitting `seen` even after
    +    -rc2 was released), I am not quite so confident, and besides, the
    +    runtime penalty of running those tests in Git for Windows' CI runs is
    +    still a worrisome burden.
    +
         So let's just disable those tests in the CI runs, at least on macOS.
     
         Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    @@ ci/install-dependencies.sh: macos-*)
      	brew link --force gettext
      
     -	mkdir -p "$CUSTOM_PATH"
    --	wget -q "$P4WHENCE/bin.macosx1015x86_64/helix-core-server.tgz" &&
    +-	wget -q "$P4WHENCE/bin.macosx12arm64/helix-core-server.tgz" &&
     -	tar -xf helix-core-server.tgz -C "$CUSTOM_PATH" p4 p4d &&
     -	sudo xattr -d com.apple.quarantine "$CUSTOM_PATH/p4" "$CUSTOM_PATH/p4d" 2>/dev/null || true
     -	rm helix-core-server.tgz
     +	# Uncomment this block if you want to run `git p4` tests:
     +	# mkdir -p "$CUSTOM_PATH"
    -+	# wget -q "$P4WHENCE/bin.macosx1015x86_64/helix-core-server.tgz" &&
    ++	# wget -q "$P4WHENCE/bin.macosx12arm64/helix-core-server.tgz" &&
     +	# tar -xf helix-core-server.tgz -C "$CUSTOM_PATH" p4 p4d &&
     +	# sudo xattr -d com.apple.quarantine "$CUSTOM_PATH/p4" "$CUSTOM_PATH/p4d" 2>/dev/null || true
     +	# rm helix-core-server.tgz
  • 118: 53959b1 = 118: 318047a Win32: make FILETIME conversion functions public

  • 119: 52fc9bf = 119: 325e614 Win32: dirent.c: Move opendir down

  • 120: b0db5ab = 120: df5e38f mingw: make the dirent implementation pluggable

  • 117: d4dc94e = 121: 14143dd git-gui--askyesno: fix funny text wrapping

  • 121: 1c65011 = 122: c9e86db Win32: make the lstat implementation pluggable

  • 131: 710c25a = 123: f8b490a git-gui--askyesno (mingw): use Git for Windows' icon, if available

  • 122: 3493edf = 124: 731539c mingw: add infrastructure for read-only file system level caches

  • 123: 85b262a = 125: 7c1db29 mingw: add a cache below mingw's lstat and dirent implementations

  • 124: 9b5bf9f = 126: 40938ff fscache: load directories only once

  • 125: a503cde = 127: 6d8ff51 fscache: add key for GIT_TRACE_FSCACHE

  • 126: a1de633 = 128: 8a50efe fscache: remember not-found directories

  • 127: bf3a8c7 = 129: accdcbd fscache: add a test for the dir-not-found optimization

  • 128: 4d940f6 = 130: b18f0e5 add: use preload-index and fscache for performance

  • 129: 465b7d8 = 131: 1fe74fa dir.c: make add_excludes aware of fscache during status

  • 130: 8262551 = 132: 4c6b720 fscache: make fscache_enabled() public

  • 132: dac79f4 = 133: 452e4bd dir.c: regression fix for add_excludes with fscache

  • 133: 8a47413 = 134: e1d9f08 fetch-pack.c: enable fscache for stats under .git/objects

  • 134: 99a8cd2 = 135: 66a160a checkout.c: enable fscache for checkout again

  • 135: 1c9ea07 = 136: c4b82d9 Enable the filesystem cache (fscache) in refresh_index().

  • 136: 77734a9 = 137: d24c19f fscache: use FindFirstFileExW to avoid retrieving the short name

  • 137: 4c4d933 = 138: 9ac9e20 fscache: add GIT_TEST_FSCACHE support

  • 138: 7d4c2f6 = 139: 56acd73 fscache: add fscache hit statistics

  • 139: c2b240e = 140: a7f97ae unpack-trees: enable fscache for sparse-checkout

  • 140: 29efe60 = 141: c789ac1 status: disable and free fscache at the end of the status command

  • 141: 081820c = 142: eefbd68 mem_pool: add GIT_TRACE_MEMPOOL support

  • 142: ca3aa4e = 143: d3cf820 fscache: fscache takes an initial size

  • 143: 8d5c9c6 = 144: 4e43298 fscache: update fscache to be thread specific instead of global

  • 144: 6a0e628 = 145: 4c5b1e3 fscache: teach fscache to use mempool

  • 145: cd922a9 = 146: 6afb01b fscache: make fscache_enable() thread safe

  • 146: c1f07b4 = 147: a47d909 fscache: teach fscache to use NtQueryDirectoryFile

  • 147: 0e1015f = 148: c045384 fscache: remember the reparse tag for each entry

  • 148: 1663c91 = 149: 55caebc fscache: implement an FSCache-aware is_mount_point()

  • 149: 99b8e43 = 150: 7fcb2b7 clean: make use of FSCache

  • 150: 7332185 = 151: 496ea4b pack-objects (mingw): demonstrate a segmentation fault with large deltas

  • 151: 6d251de = 152: 8093ade mingw: support long paths

  • 152: 3ab1ee0 = 153: 0c8f71e Win32: fix 'lstat("dir/")' with long paths

  • 153: 5ab30c4 = 154: f39a12a win32(long path support): leave drive-less absolute paths intact

  • 154: e28da79 = 155: 7a9af39 compat/fsmonitor/fsm-*-win32: support long paths

  • 155: f28ad6f = 156: 7f78f8c clean: suggest using core.longPaths if paths are too long to remove

  • 156: 3d9c692 = 157: e8ec49f mingw: Support git_terminal_prompt with more terminals

  • 157: 6ac6bc1 = 158: ad23120 compat/terminal.c: only use the Windows console if bash 'read -r' fails

  • 158: ab3bda8 = 159: c6161dd mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method

  • 159: b2884f4 = 160: 0d976f7 strbuf_readlink: don't call readlink twice if hint is the exact link size

  • 160: d2eebd8 = 161: bc92f58 strbuf_readlink: support link targets that exceed PATH_MAX

  • 161: fb2b39e = 162: e3f79df lockfile.c: use is_dir_sep() instead of hardcoded '/' checks

  • 162: d985f6b = 163: 8de7a37 Win32: don't call GetFileAttributes twice in mingw_lstat()

  • 163: ba8a77d = 164: 1a21b37 Win32: implement stat() with symlink support

  • 164: 9280746 = 165: f61d707 Win32: remove separate do_lstat() function

  • 165: c50d76e = 166: 1af64be Win32: let mingw_lstat() error early upon problems with reparse points

  • 166: e8624cd = 167: 418d5ff mingw: teach fscache and dirent about symlinks

  • 167: 98a010e = 168: b07d268 Win32: lstat(): return adequate stat.st_size for symlinks

  • 168: df94ac1 = 169: cc0eb8e Win32: factor out retry logic

  • 169: ac2046f = 170: 5cd3507 Win32: change default of 'core.symlinks' to false

  • 170: f2e6916 = 171: 4de05f0 Win32: add symlink-specific error codes

  • 171: 7c3352d = 172: a74d76c Win32: mingw_unlink: support symlinks to directories

  • 172: 5ec9edd = 173: 20109e2 Win32: mingw_rename: support renaming symlinks

  • 173: 716e53c = 174: fcaeac9 Win32: mingw_chdir: change to symlink-resolved directory

  • 174: 5b49c38 = 175: 7ef5a5e Win32: implement readlink()

  • 175: 95ce563 = 176: 4631988 mingw: lstat: compute correct size for symlinks

  • 176: 952ec0e = 177: 53891f4 Win32: implement basic symlink() functionality (file symlinks only)

  • 177: cfd7e4f = 178: 914b5a8 Win32: symlink: add support for symlinks to directories

  • 178: f96fdf2 = 179: e0f2297 mingw: try to create symlinks without elevated permissions

  • 179: ce3323a = 180: 96f34f8 mingw: emulate stat() a little more faithfully

  • 180: 23e53f7 = 181: dcec765 mingw: special-case index entries for symlinks with buggy size

  • 181: f97edc2 = 182: 3404c03 mingw: introduce code to detect whether we're inside a Windows container

  • 190: 6694ef6 = 183: ae2f825 mingw: when running in a Windows container, try to rename() harder

  • 192: e528336 = 184: d90febd mingw: move the file_attr_to_st_mode() function definition

  • 194: 3e97d44 = 185: 25cea2a mingw: Windows Docker volumes are not symbolic links

  • 196: 6a8cf24 = 186: 9e2baae mingw: work around rename() failing on a read-only file

  • 182: 0b22c47 = 187: f8464ec Win32: symlink: move phantom symlink creation to a separate function

  • 183: 4abc64b = 188: 74b0e01 Introduce helper to create symlinks that knows about index_state

  • 184: dd5151e = 189: bd18984 mingw: allow to specify the symlink type in .gitattributes

  • 185: 6088efa = 190: 6c651e6 Win32: symlink: add test for symlink attribute

  • 186: 5d12105 = 191: 1f5deb0 mingw: explicitly specify with which cmd to prefix the cmdline

  • 187: 75e6c72 = 192: a36ee0d mingw: when path_lookup() failed, try BusyBox

  • 188: 8039f7f = 193: ad99b08 test-tool: learn to act as a drop-in replacement for iconv

  • 189: 8c4ccc6 = 194: b2ca295 tests(mingw): if iconv is unavailable, use test-helper --iconv

  • 191: 1993012 = 195: 99f4a2d gitattributes: mark .png files as binary

  • 193: 55e04c1 = 196: aca812d tests: move test PNGs into t/lib-diff/

  • 195: 073ac34 = 197: 1f8c540 tests: only override sort & find if there are usable ones in /usr/bin/

  • 197: eaa385c = 198: 1c392f5 tests: use the correct path separator with BusyBox

  • 198: cb25d43 = 199: f2638ab mingw: only use Bash-ism builtin pwd -W when available

  • 199: 1ff9d07 = 200: 74b42e2 tests (mingw): remove Bash-specific pwd option

  • 200: 1c0c35c = 201: 78084cd test-lib: add BUSYBOX prerequisite

  • 201: 803c05a = 202: 194fa5b t5003: use binary file from t/lib-diff/

  • 202: 6889c86 = 203: 5f77614 t5532: workaround for BusyBox on Windows

  • 203: 394b993 = 204: 2ecb94f t5605: special-case hardlink test for BusyBox-w32

  • 204: 1219872 = 205: 4be9142 t5813: allow for $PWD to be a Windows path

  • 205: c6c2965 = 206: 7602832 t9200: skip tests when $PWD contains a colon

  • 206: 3acedcc = 207: 367c0ca mingw: add a Makefile target to copy test artifacts

  • 207: 10d3e86 = 208: 0a0232d mingw: kill child processes in a gentler way

  • 209: e352a35 = 209: 75248bf mingw: optionally enable wsl compability file mode bits

  • 210: 1b893d0 = 210: 40965ca mingw: really handle SIGINT

  • 208: f282dfb = 211: 11ed93d mingw: do not call xutftowcs_path in mingw_mktemp

  • 217: 7de22d6 = 212: 6f8bdde Partially un-revert "editor: save and reset terminal after calling EDITOR"

  • 218: e8aed6d = 213: 4e79029 reset: reinstate support for the deprecated --stdin option

  • 219: 469cfce = 214: 0e6a045 fsmonitor: reintroduce core.useBuiltinFSMonitor

  • 211: 6e6ea73 = 215: 5fc4037 Describe Git for Windows' architecture [no ci]

  • 212: 4009890 = 216: 1b45425 Modify the Code of Conduct for Git for Windows

  • 213: 26c20a3 = 217: 5e5b765 CONTRIBUTING.md: add guide for first-time contributors

  • 214: 1d5f8d5 = 218: 7dd942a README.md: Add a Windows-specific preamble

  • 216: 5780e9d = 219: 03c83c5 Add an issue template

  • 215: d5fc32d = 220: 4739f76 Add a GitHub workflow to monitor component updates

  • 221: 79dbd89 = 221: 51b26a1 Modify the GitHub Pull Request template (to reflect Git for Windows)

  • 220: 0cd7a29 = 222: ad9803b dependabot: help keeping GitHub Actions versions up to date

  • 222: ca68c5c = 223: 2b06ab0 SECURITY.md: document Git for Windows' policies

@dscho dscho added this to the Next release milestone Nov 17, 2025
@dscho dscho linked an issue Nov 17, 2025 that may be closed by this pull request
@dscho
Copy link
Member Author

dscho commented Nov 17, 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 Nov 17, 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 2912d8e into main Nov 17, 2025
142 of 143 checks passed
@gitforwindowshelper gitforwindowshelper bot deleted the rebase-to-v2.52.0 branch November 17, 2025 19:16
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.52.0