Repository navigation
Conversation
…erver Nano Server needs runtime DLLs from the SDK used to build Git, but the current x64 environment no longer contains `/mingw64/bin`. Honor the setup action's `MSYSTEM` selection while keeping the container-side directory independent of the toolchain name. Assisted-by: GPT-6 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
…opment The PowerShell example still assumes `/mingw64`, which is absent from the current x64 SDK. Keep its environment and search path consistent with UCRT64 while preserving the non-login `bash` invocation and access to `/usr/bin`. Assisted-by: GPT-6 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The deprecation note still promises behavior intentionally removed by the shim. Explain the migration to `git repo structure` so users can choose their ref scope and output, including opting out of name lookup, without relying on ignored configuration or unsupported options. Assisted-by: GPT-6 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The test reporter fails with "Permission denied" when appending `FAILED_TEST_ARTIFACTS` to `GITHUB_ENV` in linux-TEST-vars, linux32 and debian-12: https://github.com/microsoft/git/actions/runs/35114876023 Each Actions step receives a distinct environment file, so the earlier build/test permission adjustment does not cover the reporter. Give this step the access it needs to record failure artifacts while retaining rootless execution and unchanged reporting logic. I overlooked this in the original 0458e8b (ci(dockerized): do show the result of failing tests again, 2025-11-17). Assisted-by: GPT-6 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The pretend SDK layout should reflect the current x64 UCRT64 defaults when neither `MINGW_PREFIX` nor `MSYSTEM` is specified. Explicit selections remain honored; only the fixture's fallback changes. I forgot this part before upstreaming caa5d9e (mingw: allow `git.exe` to be used instead of the "Git wrapper", 2026-09-10). Assisted-by: GPT-6 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
There was a problem hiding this comment.
🟡 Changes recommended
The migration guide recommends unsupported options and configuration variables.
1 open finding
What changed in this PR
Updates Windows tooling for UCRT64 and documents migration from git survey to git repo structure.
Changes:
- Switches Windows SDK assumptions from MINGW64 to UCRT64.
- Updates CI runtime paths and failure-report permissions.
- Adds migration guidance for deprecated survey options and configuration.
| File | Description |
|---|---|
t/t0060-path-utils.sh |
Updates the default test prefix to UCRT64. |
Documentation/git-survey.adoc |
Adds migration guidance for the survey shim. |
Documentation/config/survey.adoc |
Marks survey.* settings as ignored. |
AGENTS.md |
Updates SDK build instructions for UCRT64. |
.github/workflows/nano-server.yml |
Mounts runtime DLLs from the active SDK. |
.github/workflows/main.yml |
Makes the environment file writable during failure reporting. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+85
to
+88
| `--commit-parents=<n>`, `--commit-sizes=<n>`, `--tree-entries=<n>`, | ||
| `--tree-sizes=<n>`, `--blob-sizes=<n>`, and `--[no-]name-rev` retain their | ||
| names in `git repo structure`, but are not accepted by the shim. Each | ||
| object-list limit defaults to 0. |
mjcheetham
approved these changes
Oct 14, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

These fixes mainly hail from the
-rcrebases of Microsoft Git, where I realized a couple of issues that affect Git for Windows' patch thicket itself (and not the patches Microsoft Git puts on top). The fixes fall into two categories: fall-out from the MINGW64 -> UCRT64 transition, and fall-out from deprecatinggit surveyin favor ofgit repo structure.