Skip to content

Rebase to v2.51.0#5786

Merged
gitforwindowshelper[bot] merged 337 commits into
mainfrom
rebase-to-v2.51.0
Aug 19, 2025
Merged

Rebase to v2.51.0#5786
gitforwindowshelper[bot] merged 337 commits into
mainfrom
rebase-to-v2.51.0

Conversation

@dscho
Copy link
Copy Markdown
Member

@dscho dscho commented Aug 19, 2025

This is the final rebase.

vdye and others added 30 commits August 19, 2025 10:16
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>
By default, the buffer type of Windows' `stdout` is unbuffered (_IONBF),
and there is no need to manually fflush `stdout`.

But some programs, such as the Windows Filtering Platform driver
provided by the security software, may change the buffer type of
`stdout` to full buffering. This nees `fflush(stdout)` to be called
manually, otherwise there will be no output to `stdout`.

Signed-off-by: MinarKotonoha <chengzhuo5@qq.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
A long time ago, we decided to run tests in Git for Windows' SDK with
the default `winsymlinks` mode: copying instead of linking. This is
still the default mode of MSYS2 to this day.

However, this is not how most users run Git for Windows: As the majority
of Git for Windows' users seem to be on Windows 10 and newer, likely
having enabled Developer Mode (which allows creating symbolic links
without administrator privileges), they will run with symlink support
enabled.

This is the reason why it is crucial to get the fixes for CVE-2024-? to
the users, and also why it is crucial to ensure that the test suite
exercises the related test cases. This commit ensures the latter.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The `__MINGW64__` constant is defined, surprise, surprise, only when
building for a 64-bit CPU architecture.

Therefore using it as a guard to define `_POSIX_C_SOURCE` (so that
`localtime_r()` is declared, among other functions) is not enough, we
also need to check `__MINGW32__`.

Technically, the latter constant is defined even for 64-bit builds. But
let's make things a bit easier to understand by testing for both
constants.

Making it so fixes this compile warning (turned error in GCC v14.1):

  archive-zip.c: In function 'dos_time':
  archive-zip.c:612:9: error: implicit declaration of function 'localtime_r';
  did you mean 'localtime_s'? [-Wimplicit-function-declaration]
    612 |         localtime_r(&time, &tm);
        |         ^~~~~~~~~~~
        |         localtime_s

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho and others added 17 commits August 19, 2025 10:16
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
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Add a README.md for GitHub goodness.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This topic integrates a patch that updates the `actions/checkout` and
`actions/download-artifact` Actions to v5.

The main aim is to keep the versions up to date; It does not change any
behavior because the Git project does not use any self-hosted runners
(where the only incompatible change of `actions/checkout` could
potentially break: It increases the required node.js version), and
neither does it use the feature of `actions/download-artifact` where it
is possible to refer to the artifact by ID instead of name.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bumps
[actions/download-artifact](https://github.com/actions/download-artifact)
from 4 to 5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/download-artifact/releases">actions/download-artifact's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update README.md by <a
href="https://github.com/nebuk89"><code>@​nebuk89</code></a> in <a
href="https://redirect.github.com/actions/download-artifact/pull/407">actions/download-artifact#407</a></li>
<li>BREAKING fix: inconsistent path behavior for single artifact
downloads by ID by <a
href="https://github.com/GrantBirki"><code>@​GrantBirki</code></a> in <a
href="https://redirect.github.com/actions/download-artifact/pull/416">actions/download-artifact#416</a></li>
</ul>
<h2>v5.0.0</h2>
<h3>🚨 Breaking Change</h3>
<p>This release fixes an inconsistency in path behavior for single
artifact downloads by ID. <strong>If you're downloading single artifacts
by ID, the output path may change.</strong></p>
<h4>What Changed</h4>
<p>Previously, <strong>single artifact downloads</strong> behaved
differently depending on how you specified the artifact:</p>
<ul>
<li><strong>By name</strong>: <code>name: my-artifact</code> → extracted
to <code>path/</code> (direct)</li>
<li><strong>By ID</strong>: <code>artifact-ids: 12345</code> → extracted
to <code>path/my-artifact/</code> (nested)</li>
</ul>
<p>Now both methods are consistent:</p>
<ul>
<li><strong>By name</strong>: <code>name: my-artifact</code> → extracted
to <code>path/</code> (unchanged)</li>
<li><strong>By ID</strong>: <code>artifact-ids: 12345</code> → extracted
to <code>path/</code> (fixed - now direct)</li>
</ul>
<h4>Migration Guide</h4>
<h5>✅ No Action Needed If:</h5>
<ul>
<li>You download artifacts by <strong>name</strong></li>
<li>You download <strong>multiple</strong> artifacts by ID</li>
<li>You already use <code>merge-multiple: true</code> as a
workaround</li>
</ul>
<h5>⚠️ Action Required If:</h5>
<p>You download <strong>single artifacts by ID</strong> and your
workflows expect the nested directory structure.</p>
<p><strong>Before v5 (nested structure):</strong></p>
<pre lang="yaml"><code>- uses: actions/download-artifact@v4
  with:
    artifact-ids: 12345
    path: dist
# Files were in: dist/my-artifact/
</code></pre>
<blockquote>
<p>Where <code>my-artifact</code> is the name of the artifact you
previously uploaded</p>
</blockquote>
<p><strong>To maintain old behavior (if needed):</strong></p>
<pre lang="yaml"><code>&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/download-artifact/commit/634f93cb2916e3fdff6788551b99b062d0335ce0"><code>634f93c</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/download-artifact/issues/416">#416</a>
from actions/single-artifact-id-download-path</li>
<li><a
href="https://github.com/actions/download-artifact/commit/b19ff4302770b82aa4694b63703b547756dacce6"><code>b19ff43</code></a>
refactor: resolve download path correctly in artifact download tests
(mainly ...</li>
<li><a
href="https://github.com/actions/download-artifact/commit/e262cbee4ab8c473c61c59a81ad8e9dc760e90db"><code>e262cbe</code></a>
bundle dist</li>
<li><a
href="https://github.com/actions/download-artifact/commit/bff23f9308ceb2f06d673043ea6311519be6a87b"><code>bff23f9</code></a>
update docs</li>
<li><a
href="https://github.com/actions/download-artifact/commit/fff8c148a8fdd56aa81fcb019f0b5f6c65700c4d"><code>fff8c14</code></a>
fix download path logic when downloading a single artifact by id</li>
<li><a
href="https://github.com/actions/download-artifact/commit/448e3f862ab3ef47aa50ff917776823c9946035b"><code>448e3f8</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/download-artifact/issues/407">#407</a>
from actions/nebuk89-patch-1</li>
<li><a
href="https://github.com/actions/download-artifact/commit/47225c44b359a5155efdbbbc352041b3e249fb1b"><code>47225c4</code></a>
Update README.md</li>
<li>See full diff in <a
href="https://github.com/actions/download-artifact/compare/v4...v5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/download-artifact&package-manager=github_actions&previous-version=4&new-version=5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to
5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/releases">actions/checkout's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update actions checkout to use node 24 by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2226">actions/checkout#2226</a></li>
<li>Prepare v5.0.0 release by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2238">actions/checkout#2238</a></li>
</ul>
<h2>⚠️ Minimum Compatible Runner Version</h2>
<p><strong>v2.327.1</strong><br />
<a
href="https://github.com/actions/runner/releases/tag/v2.327.1">Release
Notes</a></p>
<p>Make sure your runner is updated to this version or newer to use this
release.</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v4...v5.0.0">https://github.com/actions/checkout/compare/v4...v5.0.0</a></p>
<h2>v4.3.0</h2>
<h2>What's Changed</h2>
<ul>
<li>docs: update README.md by <a
href="https://github.com/motss"><code>@​motss</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li>
<li>Add internal repos for checking out multiple repositories by <a
href="https://github.com/mouismail"><code>@​mouismail</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li>
<li>Documentation update - add recommended permissions to Readme by <a
href="https://github.com/benwells"><code>@​benwells</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li>
<li>Adjust positioning of user email note and permissions heading by <a
href="https://github.com/joshmgross"><code>@​joshmgross</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2044">actions/checkout#2044</a></li>
<li>Update README.md by <a
href="https://github.com/nebuk89"><code>@​nebuk89</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li>
<li>Update CODEOWNERS for actions by <a
href="https://github.com/TingluoHuang"><code>@​TingluoHuang</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2224">actions/checkout#2224</a></li>
<li>Update package dependencies by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li>
<li>Prepare release v4.3.0 by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2237">actions/checkout#2237</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/motss"><code>@​motss</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li>
<li><a href="https://github.com/mouismail"><code>@​mouismail</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li>
<li><a href="https://github.com/benwells"><code>@​benwells</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li>
<li><a href="https://github.com/nebuk89"><code>@​nebuk89</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li>
<li><a href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v4...v4.3.0">https://github.com/actions/checkout/compare/v4...v4.3.0</a></p>
<h2>v4.2.2</h2>
<h2>What's Changed</h2>
<ul>
<li><code>url-helper.ts</code> now leverages well-known environment
variables by <a href="https://github.com/jww3"><code>@​jww3</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/1941">actions/checkout#1941</a></li>
<li>Expand unit test coverage for <code>isGhes</code> by <a
href="https://github.com/jww3"><code>@​jww3</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1946">actions/checkout#1946</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v4.2.1...v4.2.2">https://github.com/actions/checkout/compare/v4.2.1...v4.2.2</a></p>
<h2>v4.2.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Check out other refs/* by commit if provided, fall back to ref by <a
href="https://github.com/orhantoy"><code>@​orhantoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1924">actions/checkout#1924</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Jcambass"><code>@​Jcambass</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/1919">actions/checkout#1919</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v4.2.0...v4.2.1">https://github.com/actions/checkout/compare/v4.2.0...v4.2.1</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>V5.0.0</h2>
<ul>
<li>Update actions checkout to use node 24 by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2226">actions/checkout#2226</a></li>
</ul>
<h2>V4.3.0</h2>
<ul>
<li>docs: update README.md by <a
href="https://github.com/motss"><code>@​motss</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li>
<li>Add internal repos for checking out multiple repositories by <a
href="https://github.com/mouismail"><code>@​mouismail</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li>
<li>Documentation update - add recommended permissions to Readme by <a
href="https://github.com/benwells"><code>@​benwells</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li>
<li>Adjust positioning of user email note and permissions heading by <a
href="https://github.com/joshmgross"><code>@​joshmgross</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2044">actions/checkout#2044</a></li>
<li>Update README.md by <a
href="https://github.com/nebuk89"><code>@​nebuk89</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li>
<li>Update CODEOWNERS for actions by <a
href="https://github.com/TingluoHuang"><code>@​TingluoHuang</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2224">actions/checkout#2224</a></li>
<li>Update package dependencies by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li>
</ul>
<h2>v4.2.2</h2>
<ul>
<li><code>url-helper.ts</code> now leverages well-known environment
variables by <a href="https://github.com/jww3"><code>@​jww3</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/1941">actions/checkout#1941</a></li>
<li>Expand unit test coverage for <code>isGhes</code> by <a
href="https://github.com/jww3"><code>@​jww3</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1946">actions/checkout#1946</a></li>
</ul>
<h2>v4.2.1</h2>
<ul>
<li>Check out other refs/* by commit if provided, fall back to ref by <a
href="https://github.com/orhantoy"><code>@​orhantoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1924">actions/checkout#1924</a></li>
</ul>
<h2>v4.2.0</h2>
<ul>
<li>Add Ref and Commit outputs by <a
href="https://github.com/lucacome"><code>@​lucacome</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1180">actions/checkout#1180</a></li>
<li>Dependency updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>- <a
href="https://redirect.github.com/actions/checkout/pull/1777">actions/checkout#1777</a>,
<a
href="https://redirect.github.com/actions/checkout/pull/1872">actions/checkout#1872</a></li>
</ul>
<h2>v4.1.7</h2>
<ul>
<li>Bump the minor-npm-dependencies group across 1 directory with 4
updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1739">actions/checkout#1739</a></li>
<li>Bump actions/checkout from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1697">actions/checkout#1697</a></li>
<li>Check out other refs/* by commit by <a
href="https://github.com/orhantoy"><code>@​orhantoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1774">actions/checkout#1774</a></li>
<li>Pin actions/checkout's own workflows to a known, good, stable
version. by <a href="https://github.com/jww3"><code>@​jww3</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1776">actions/checkout#1776</a></li>
</ul>
<h2>v4.1.6</h2>
<ul>
<li>Check platform to set archive extension appropriately by <a
href="https://github.com/cory-miller"><code>@​cory-miller</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1732">actions/checkout#1732</a></li>
</ul>
<h2>v4.1.5</h2>
<ul>
<li>Update NPM dependencies by <a
href="https://github.com/cory-miller"><code>@​cory-miller</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1703">actions/checkout#1703</a></li>
<li>Bump github/codeql-action from 2 to 3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1694">actions/checkout#1694</a></li>
<li>Bump actions/setup-node from 1 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1696">actions/checkout#1696</a></li>
<li>Bump actions/upload-artifact from 2 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1695">actions/checkout#1695</a></li>
<li>README: Suggest <code>user.email</code> to be
<code>41898282+github-actions[bot]@users.noreply.github.com</code> by <a
href="https://github.com/cory-miller"><code>@​cory-miller</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1707">actions/checkout#1707</a></li>
</ul>
<h2>v4.1.4</h2>
<ul>
<li>Disable <code>extensions.worktreeConfig</code> when disabling
<code>sparse-checkout</code> by <a
href="https://github.com/jww3"><code>@​jww3</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1692">actions/checkout#1692</a></li>
<li>Add dependabot config by <a
href="https://github.com/cory-miller"><code>@​cory-miller</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1688">actions/checkout#1688</a></li>
<li>Bump the minor-actions-dependencies group with 2 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1693">actions/checkout#1693</a></li>
<li>Bump word-wrap from 1.2.3 to 1.2.5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1643">actions/checkout#1643</a></li>
</ul>
<h2>v4.1.3</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/checkout/commit/08c6903cd8c0fde910a37f88322edcfb5dd907a8"><code>08c6903</code></a>
Prepare v5.0.0 release (<a
href="https://redirect.github.com/actions/checkout/issues/2238">#2238</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/9f265659d3bb64ab1440b03b12f4d47a24320917"><code>9f26565</code></a>
Update actions checkout to use node 24 (<a
href="https://redirect.github.com/actions/checkout/issues/2226">#2226</a>)</li>
<li>See full diff in <a
href="https://github.com/actions/checkout/compare/v4...v5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=4&new-version=5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
@dscho dscho self-assigned this Aug 19, 2025
@dscho dscho linked an issue Aug 19, 2025 that may be closed by this pull request
@dscho dscho added this to the Next release milestone Aug 19, 2025
@dscho dscho requested review from mjcheetham and rimrul August 19, 2025 08:46
@dscho
Copy link
Copy Markdown
Member Author

dscho commented Aug 19, 2025

Range-diff relative to
  • 1: 8af5465 = 1: b71a0ba sideband: mask control characters
  • 2: d6c28dc = 2: 4995805 sideband: introduce an "escape hatch" to allow control characters
  • 3: 89ac40c = 3: 7657a6a sideband: do allow ANSI color sequences by default
  • 4: a84ab21 = 4: c19f5d0 unix-socket: avoid leak when initialization fails
  • 5: a306011 = 5: dd73428 grep: prevent ^$ false match at end of file
  • 6: 1315e58 = 6: 629860b t9350: point out that refs are not updated correctly
  • 8: 618272c = 7: 123487f mingw: avoid relative #includes
  • 7: 77006a9 = 8: ebfc564 transport-helper: add trailing --
  • 10: fee51c5 = 9: d4fa0d1 mingw: order #includes alphabetically
  • 9: a9e3a52 = 10: f5eebce remote-helper: check helper status after import/export
  • 11: 8ff145d (upstream: ba8bef4) < -: ----------- cmake: accommodate for UNIT_TEST_SOURCES
  • 17: c6ac3c1 = 11: 930f30d mingw: demonstrate a problem with certain absolute paths
  • 18: dfe073b = 12: 1f29a93 clean: do not traverse mount points
  • 12: 786abb7 = 13: 3da588f Always auto-gc after calling a fast-import transport
  • 20: 866ce33 = 14: a635513 mingw: allow absolute paths without drive prefix
  • 21: d165745 = 15: 940c9be clean: remove mount points when possible
  • 13: b5d19db = 16: 7204213 mingw: include the Python parts in the build
  • 14: ff557c5 = 17: 021d198 win32/pthread: avoid name clashes with winpthread
  • 15: 0ecbfb7 = 18: 248d77f git-compat-util: avoid redeclaring _DEFAULT_SOURCE
  • 16: 8dc671b = 19: c52e65d Import the source code of mimalloc v2.2.4
  • 19: b25103b = 20: a73adbc mimalloc: adjust for building inside Git
  • 23: bb72a99 = 21: d5d7ca4 mimalloc: offer a build-time option to enable it
  • 25: f8ba58f = 22: e41f08b mingw: use mimalloc
  • 26: 8b8070d = 23: ced0807 transport: optionally disable side-band-64k
  • 22: d93859a = 24: 8eed87a mingw: demonstrate a git add issue with NTFS junctions
  • 24: d95971f = 25: e10e4ab strbuf_realpath(): use platform-dependent API if available
  • 27: e849892 = 26: 32836bb mingw: do resolve symlinks in getcwd()
  • 28: 6e4709e = 27: aed3ff2 mingw: fix fatal error working on mapped network drives on Windows
  • 29: e17d663 = 28: 8f508b2 clink.pl: fix MSVC compile script to handle libcurl-d.lib
  • 30: 3577e86 = 29: 59be840 mingw: implement a platform-specific strbuf_realpath()
  • 31: deab9c0 = 30: e457bb0 mingw: ensure valid CTYPE
  • 33: 0e4de2d = 31: 1710ac1 mingw: allow git.exe to be used instead of the "Git wrapper"
  • 35: bc0af26 = 32: 76f3cd6 mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system directory
  • 36: ea6a78b = 33: a0bc5b1 http: use new "best effort" strategy for Secure Channel revoke checking
  • 32: 70abbd0 = 34: a0b57b5 t5505/t5516: allow running without .git/branches/ in the templates
  • 34: e278a1b = 35: 65d47d7 t5505/t5516: fix white-space around redirectors
  • 37: 6987e09 = 36: 65df47a t3701: verify that we can add lots of files interactively
  • 38: 4d5a753 = 37: bbdff99 commit: accept "scissors" with CR/LF line endings
  • 39: 5858948 = 38: ada7407 t0014: fix indentation
  • 40: 2488029 = 39: 01d8c1e clink.pl: fix libexpatd.lib link error when using MSVC
  • 41: 110acdd = 40: 58fd9f5 Makefile: clean up .ilk files when MSVC=1
  • 42: b7ff3c2 = 41: bb6dc15 vcbuild: add support for compiling Windows resource files
  • 46: b561a3d = 42: eb5e096 git-gui: accommodate for intent-to-add files
  • 43: e23c4df = 43: fd49406 config.mak.uname: add git.rc to MSVC builds
  • 44: 8b2b56e = 44: 8855918 clink.pl: ignore no-stack-protector arg on MSVC=1 builds
  • 45: 14725a9 = 45: 12509fe clink.pl: move default linker options for MSVC=1 builds
  • 47: bda020a = 46: 4e71e72 cmake: install headless-git.
  • 48: b1271be = 47: d0d2e30 vcpkg_install: detect lack of Git
  • 49: 5cd9ca6 = 48: fd78b76 vcpkg_install: add comment regarding slow network connections
  • 50: 858188c = 49: de324cc vcbuild: install ARM64 dependencies when building ARM64 binaries
  • 51: c5125fc = 50: 3f252c7 vcbuild: add an option to install individual 'features'
  • 52: cfe3628 = 51: 559cb76 cmake: allow building for Windows/ARM64
  • 53: b644ab9 = 52: cfd4e29 ci(vs-build) also build Windows/ARM64 artifacts
  • 54: b8b6c19 = 53: af666d1 Add schannel to curl installation
  • 55: f94b1b3 = 54: 96a535f cmake(): allow setting HOST_CPU for cross-compilation
  • 59: 9148556 = 55: d3cd8d7 subtree: update contrib/subtree test target
  • 56: 02bf5dc = 56: 815b051 mingw: allow for longer paths in parse_interpreter()
  • 61: ba44a4a = 57: db4cb51 compat/vcbuild: document preferred way to build in Visual Studio
  • 62: 8ef65d9 = 58: 8df9f76 http: optionally send SSL client certificate
  • 57: 5da151a = 59: abafe48 CMake: default Visual Studio generator has changed
  • 58: 64f0007 = 60: c91bec9 .gitignore: add Visual Studio CMakeSetting.json file
  • 60: 3c19912 = 61: 40a1b07 CMakeLists: add default "x64-windows" arch for Visual Studio
  • 63: 88ffeb6 = 62: 4f6dc69 ci: run contrib/subtree tests in CI builds
  • 64: 556ee9a = 63: 7234e38 CMake: show Win32 and Generator_platform build-option values
  • 65: f928046 = 64: 8e53441 init: do parse all core.* settings early
  • 66: 9045c1c = 65: ed96e8b hash-object: demonstrate a >4GB/LLP64 problem
  • 67: 6c951e9 = 66: d33fc04 object-file.c: use size_t for header lengths
  • 68: f894aeb = 67: b65f763 hash algorithms: use size_t for section lengths
  • 69: bd9c1fd = 68: 09cf0fb hash-object --stdin: verify that it works with >4GB/LLP64
  • 70: ce36254 = 69: 28ecf2e hash-object: add another >4GB/LLP64 test case
  • 71: b03c2d4 = 70: 11ffdf4 setup: properly use "%(prefix)/" when in WSL
  • 72: a15590b = 71: ef31e90 hash-object: add a >4GB/LLP64 test case using filtered input
  • 73: 3b395fa = 72: 8f569fa compat/mingw.c: do not warn when failing to get owner
  • 75: efb3230 = 73: 703d1cc Add config option windows.appendAtomically
  • 74: 40fab90 = 74: 57b0497 mingw: $env:TERM="xterm-256color" for newer OSes
  • 77: 927c3d2 = 75: f844329 winansi: check result and Buffer before using Name
  • 78: 40b2ad3 = 76: fc766c7 mingw: change core.fsyncObjectFiles = 1 by default
  • 76: 4576f9b = 77: ed81223 MinGW: link as terminal server aware
  • 79: 8c6dc92 = 78: 967a8f9 Fix Windows version resources
  • 80: 76cd0fd = 79: 6869818 status: fix for old-style submodules with commondir
  • 81: 4f33fd4 = 80: 6d2a6fb http: optionally load libcurl lazily
  • 82: 6de1f27 = 81: a40853e http: support lazy-loading libcurl also on Windows
  • 83: 3973083 = 82: 4c59683 http: when loading libcurl lazily, allow for multiple SSL backends
  • 84: 97ad9af = 83: db845a7 windows: skip linking git-<command> for built-ins
  • 85: b051fa3 = 84: af5df3e mingw: do load libcurl dynamically by default
  • 86: b5ef892 = 85: d532804 Add a GitHub workflow to verify that Git/Scalar work in Nano Server
  • 87: 532f817 = 86: 8219a9d mingw: suggest windows.appendAtomically in more cases
  • 88: 4af874f = 87: 1764594 win32: use native ANSI sequence processing, if possible
  • 89: 09dee95 = 88: c1daa33 git.rc: include winuser.h
  • 90: 6e4969b = 89: 1495364 common-main.c: fflush stdout buffer upon exit
  • 91: cd07062 = 90: 83c33e8 t5601/t7406(mingw): do run tests with symlink support
  • 92: f1f79b1 = 91: a6e232f win32: ensure that localtime_r() is declared even in i686 builds
  • 93: a92fab5 = 92: 0105049 Fallback to AppData if XDG_CONFIG_HOME is unset
  • 94: 0a4aae8 = 93: ce58140 ci: work around a problem with HTTP/2 vs libcurl v8.10.0
  • 95: c22b4a8 = 94: d4fcb36 revision: create mark_trees_uninteresting_dense()
  • 96: 3381c85 = 95: 296d228 survey: stub in new experimental 'git-survey' command
  • 97: 0e50a44 = 96: 7a7c814 survey: add command line opts to select references
  • 102: 69ba498 = 97: 55d8165 run-command: be helpful with Git LFS fails on Windows 7
  • 98: 3934f1d = 98: e9dfece survey: start pretty printing data in table form
  • 99: e07c826 = 99: e781248 survey: add object count summary
  • 100: 2f55955 = 100: 41b38fa survey: summarize total sizes by object type
  • 101: 7fd7e2b = 101: c051c53 survey: show progress during object walk
  • 104: fb960b4 = 102: 5d82c4d survey: add ability to track prioritized lists
  • 106: dd6e9be = 103: ba47cab survey: add report of "largest" paths
  • 108: b41b540 = 104: 1871a99 survey: add --top= option and config
  • 103: ba13ac4 = 105: 1ab2e22 mingw: make sure errno is set correctly when socket operations fail
  • 110: 43014e6 = 106: 9c6416f survey: clearly note the experimental nature in the output
  • 105: da954fc = 107: 6bf35ce compat/mingw: handle WSA errors in strerror
  • 107: 0e8e705 = 108: f68864e compat/mingw: drop outdated comment
  • 109: 3be1722 = 109: 6856aee t0301: actually test credential-cache on Windows
  • 111: ef98952 = 110: ee41ad8 credential-cache: handle ECONNREFUSED gracefully
  • 112: 09809ec = 111: d1b1f5b max_tree_depth: lower it for clangarm64 on Windows
  • 113: 8b88631 = 112: ab203dd reftable: do make sure to use custom allocators
  • 114: f2be3df = 113: 52b2778 check-whitespace: avoid alerts about upstream commits
  • 115: 30716cb = 114: cc432bd refs: forbid clang to complain about unreachable code
  • 116: dba461b = 115: 07d2c4f mingw: avoid the comma operator
  • 117: 46e7598 = 116: f11938e git-gui: provide question helper for retry fallback on Windows
  • 118: 0da92a7 = 117: ba2fdd9 git gui: set GIT_ASKPASS=git-gui--askpass if not set yet
  • 120: dbeae5c = 118: 1160cf5 git-gui--askyesno: fix funny text wrapping
  • 122: b6112a4 = 119: 9d8c2a6 git-gui--askyesno: allow overriding the window title
  • 124: 61f14f8 = 120: 9934c5c git-gui--askyesno (mingw): use Git for Windows' icon, if available
  • 119: d9b51f2 = 121: 349c6ae Win32: make FILETIME conversion functions public
  • 121: 696c5a0 = 122: bc51e0f Win32: dirent.c: Move opendir down
  • 123: ab11246 = 123: d2577dc mingw: make the dirent implementation pluggable
  • 125: 08300ee = 124: 1a4108d Win32: make the lstat implementation pluggable
  • 126: 7efd91b = 125: 1c34281 mingw: add infrastructure for read-only file system level caches
  • 127: 6ed9c53 = 126: 834bf55 mingw: add a cache below mingw's lstat and dirent implementations
  • 128: 2a6fd3e = 127: dada487 fscache: load directories only once
  • 129: fab5fca = 128: fc6b3d7 fscache: add key for GIT_TRACE_FSCACHE
  • 130: b7f3f07 = 129: 032137b fscache: remember not-found directories
  • 131: fff2fb2 = 130: 058dd96 fscache: add a test for the dir-not-found optimization
  • 132: 5186e0d = 131: 5d728fb add: use preload-index and fscache for performance
  • 133: 73b0f2e = 132: ae65ce9 dir.c: make add_excludes aware of fscache during status
  • 134: 1072880 = 133: aa49ca0 fscache: make fscache_enabled() public
  • 135: 8ce8c3d = 134: 5905fe4 dir.c: regression fix for add_excludes with fscache
  • 136: 27e8d04 = 135: 151a012 fetch-pack.c: enable fscache for stats under .git/objects
  • 137: 1a66b5b = 136: 66556c0 checkout.c: enable fscache for checkout again
  • 138: 10ef6cd = 137: e856629 Enable the filesystem cache (fscache) in refresh_index().
  • 139: 6f3fc5a = 138: 5d2adec fscache: use FindFirstFileExW to avoid retrieving the short name
  • 140: 9eab0e1 = 139: eed5864 fscache: add GIT_TEST_FSCACHE support
  • 141: b1adcc2 = 140: bd7feb5 fscache: add fscache hit statistics
  • 142: b36789b = 141: c05a5cd unpack-trees: enable fscache for sparse-checkout
  • 143: 472de6c = 142: 7f21aaf status: disable and free fscache at the end of the status command
  • 144: ca5571f = 143: 87656c2 mem_pool: add GIT_TRACE_MEMPOOL support
  • 145: d75382d = 144: a2202da fscache: fscache takes an initial size
  • 146: deece30 = 145: 5b9364c fscache: update fscache to be thread specific instead of global
  • 147: 6444fa4 = 146: 7f619d7 fscache: teach fscache to use mempool
  • 148: 555a3dc = 147: 9517021 fscache: make fscache_enable() thread safe
  • 149: d0fc190 = 148: 4bf7963 fscache: teach fscache to use NtQueryDirectoryFile
  • 150: 0357b25 = 149: 900d66a fscache: remember the reparse tag for each entry
  • 151: 55714e3 = 150: 6ab32e8 fscache: implement an FSCache-aware is_mount_point()
  • 152: c874ef5 = 151: 89ba8ac clean: make use of FSCache
  • 153: 650e017 = 152: 48a3658 pack-objects (mingw): demonstrate a segmentation fault with large deltas
  • 154: 40ebafc = 153: c9fd5c0 mingw: support long paths
  • 155: 31c4fcb = 154: 89a7bdf Win32: fix 'lstat("dir/")' with long paths
  • 156: 745067f = 155: af10eef win32(long path support): leave drive-less absolute paths intact
  • 157: 65d2fd0 = 156: 5b60127 compat/fsmonitor/fsm-*-win32: support long paths
  • 158: c495840 = 157: 39a5d71 clean: suggest using core.longPaths if paths are too long to remove
  • 159: c3815c5 = 158: feb8729 mingw: Support git_terminal_prompt with more terminals
  • 160: e2ddf4a = 159: 282ced4 compat/terminal.c: only use the Windows console if bash 'read -r' fails
  • 161: 20e7455 = 160: 634a45d mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
  • 162: f369b92 = 161: 80d7e3e strbuf_readlink: don't call readlink twice if hint is the exact link size
  • 163: 158d62b = 162: 902c58c strbuf_readlink: support link targets that exceed PATH_MAX
  • 164: 941a919 = 163: 0e1b18e lockfile.c: use is_dir_sep() instead of hardcoded '/' checks
  • 165: 1f02c03 = 164: 2ddd834 Win32: don't call GetFileAttributes twice in mingw_lstat()
  • 166: 7058393 = 165: bbdfe58 Win32: implement stat() with symlink support
  • 167: e645a22 = 166: abefbc3 Win32: remove separate do_lstat() function
  • 168: 5d5a431 = 167: 5ad8ef9 Win32: let mingw_lstat() error early upon problems with reparse points
  • 169: 6912ec5 = 168: f3acc78 mingw: teach fscache and dirent about symlinks
  • 170: 264fdd2 = 169: e53069d Win32: lstat(): return adequate stat.st_size for symlinks
  • 171: ab115d7 = 170: 14cc224 Win32: factor out retry logic
  • 172: 4919918 = 171: ec1f3e3 Win32: change default of 'core.symlinks' to false
  • 173: 9716364 = 172: b913f06 Win32: add symlink-specific error codes
  • 174: 3e28737 = 173: 5ba65fd Win32: mingw_unlink: support symlinks to directories
  • 175: 28128d2 = 174: 39d4641 Win32: mingw_rename: support renaming symlinks
  • 176: a31565a = 175: b0fdedf Win32: mingw_chdir: change to symlink-resolved directory
  • 177: 4f6849e = 176: 91e2245 Win32: implement readlink()
  • 178: 73d5ce2 = 177: 8fd9671 mingw: lstat: compute correct size for symlinks
  • 179: e683ea8 = 178: 6db5657 Win32: implement basic symlink() functionality (file symlinks only)
  • 180: 02fa22f = 179: 0bebe91 Win32: symlink: add support for symlinks to directories
  • 181: 3e7543f = 180: 79238d9 mingw: try to create symlinks without elevated permissions
  • 182: fc793fa = 181: fdb859a mingw: emulate stat() a little more faithfully
  • 183: 038fe97 = 182: 44db3c6 mingw: special-case index entries for symlinks with buggy size
  • 184: 8d24c5f = 183: 0c87c43 mingw: introduce code to detect whether we're inside a Windows container
  • 185: a5e7117 = 184: d10c217 mingw: when running in a Windows container, try to rename() harder
  • 188: 4fa3b41 = 185: 448b8a7 Win32: symlink: move phantom symlink creation to a separate function
  • 186: 727d08d = 186: 93b9d80 mingw: move the file_attr_to_st_mode() function definition
  • 189: 3679008 = 187: ba4649c Introduce helper to create symlinks that knows about index_state
  • 187: 20ba818 = 188: a0208bb mingw: Windows Docker volumes are not symbolic links
  • 190: 4b2a258 = 189: c1ccd2d mingw: allow to specify the symlink type in .gitattributes
  • 197: b6f9d9e = 190: 4c865f7 mingw: work around rename() failing on a read-only file
  • 191: be796d6 = 191: 6da1dd7 Win32: symlink: add test for symlink attribute
  • 192: 70cf078 = 192: b5fcf76 mingw: explicitly specify with which cmd to prefix the cmdline
  • 193: c5c378e = 193: e653b64 mingw: when path_lookup() failed, try BusyBox
  • 194: b9a659d = 194: af22b1b test-tool: learn to act as a drop-in replacement for iconv
  • 195: 6cea18e = 195: 64be7a9 tests(mingw): if iconv is unavailable, use test-helper --iconv
  • 196: 975447c = 196: 9b0ffbb gitattributes: mark .png files as binary
  • 198: dba20e5 = 197: 65e4c38 tests: move test PNGs into t/lib-diff/
  • 199: 7cdf174 = 198: 1c84fe8 tests: only override sort & find if there are usable ones in /usr/bin/
  • 200: 68b21d8 = 199: 83c8aec tests: use the correct path separator with BusyBox
  • 201: d439a06 = 200: 83a3905 mingw: only use Bash-ism builtin pwd -W when available
  • 202: 13d7d58 = 201: 6663800 tests (mingw): remove Bash-specific pwd option
  • 203: a022b39 = 202: 7bf1782 test-lib: add BUSYBOX prerequisite
  • 204: 3bb87fa = 203: 3df20f7 t5003: use binary file from t/lib-diff/
  • 205: 3cdc97e = 204: ff55bcb t5532: workaround for BusyBox on Windows
  • 206: 6a4f5ae = 205: c0fd49d t5605: special-case hardlink test for BusyBox-w32
  • 207: e1f2444 = 206: 3bbebae t5813: allow for $PWD to be a Windows path
  • 208: f3a681d = 207: 48be563 t9200: skip tests when $PWD contains a colon
  • 209: 738007a = 208: f84da04 mingw: add a Makefile target to copy test artifacts
  • 212: d8a69fd = 209: 29204a4 mingw: optionally enable wsl compability file mode bits
  • 210: ba30079 = 210: b40e8ed mingw: kill child processes in a gentler way
  • 211: b0f1b34 = 211: 5e9c8e8 mingw: do not call xutftowcs_path in mingw_mktemp
  • 213: cd438e2 = 212: ec4fbf4 mingw: really handle SIGINT
  • 215: ede12ad = 213: 190e341 Partially un-revert "editor: save and reset terminal after calling EDITOR"
  • 216: 28aa1d6 = 214: 403c174 reset: reinstate support for the deprecated --stdin option
  • 219: 3d9a042 = 215: 81525f0 Describe Git for Windows' architecture [no ci]
  • 220: a6ceaf2 = 216: dc18419 Modify the Code of Conduct for Git for Windows
  • 221: 70327a1 = 217: d1c9406 CONTRIBUTING.md: add guide for first-time contributors
  • 214: 7d034df = 218: 62a7629 Add a GitHub workflow to monitor component updates
  • 222: d1874ce = 219: 85846a9 README.md: Add a Windows-specific preamble
  • 217: e1f183e = 220: 1da83a1 fsmonitor: reintroduce core.useBuiltinFSMonitor
  • 218: c5a0a3c = 221: 24aa05d dependabot: help keeping GitHub Actions versions up to date
  • 223: c9c8e0e = 222: 6e710c5 Add an issue template
  • 224: cb2a7f3 = 223: 18cd3be Modify the GitHub Pull Request template (to reflect Git for Windows)
  • 225: d90fce5 = 224: 815815e SECURITY.md: document Git for Windows' policies
  • 226: a8b90de = 225: 11ac1a8 build(deps): bump actions/download-artifact from 4 to 5
  • 227: cb64cb9 = 226: e0490d5 build(deps): bump actions/checkout from 4 to 5
  • 228: b3d5100 = 227: eed2018 build(deps): bump actions/download-artifact from 4 to 5

@dscho
Copy link
Copy Markdown
Member Author

dscho commented Aug 19, 2025

/git-artifacts

The tag-git workflow run was started

Copy link
Copy Markdown
Member

@mjcheetham mjcheetham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A pretty (99.9%) clean range-diff is nice to see 👍

@gitforwindowshelper
Copy link
Copy Markdown

Validate the installer manually

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

@dscho
Copy link
Copy Markdown
Member Author

dscho commented Aug 19, 2025

/release

The release-git workflow run was started

@gitforwindowshelper
Copy link
Copy Markdown

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

@gitforwindowshelper gitforwindowshelper Bot merged commit 4d21a77 into main Aug 19, 2025
54 checks passed
@gitforwindowshelper gitforwindowshelper Bot deleted the rebase-to-v2.51.0 branch August 19, 2025 09:26
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.0