Skip to content

Conversation

@dscho
Copy link
Member

@dscho dscho commented Jan 22, 2026

This PR rebases Git for Windows patches onto Git v2.53.0-rc1.

Previous merging-rebase: 455637a

Range-diff vs previous
  • 1: 054d297 = 1: b7572cc sideband: mask control characters
  • 2: 11155ab = 2: c9101ec sideband: introduce an "escape hatch" to allow control characters
  • 3: 08bff14 = 3: 201a9e8 sideband: do allow ANSI color sequences by default
  • 4: 7bc663f = 4: e2b8e90 unix-socket: avoid leak when initialization fails
  • 5: f33c39d = 5: 0db877b grep: prevent ^$ false match at end of file
  • 6: d443041 = 6: e5598f4 t9350: point out that refs are not updated correctly
  • 7: f225117 = 7: 3d87e0a transport-helper: add trailing --
  • 12: 59823fe = 8: c132a44 mingw: include the Python parts in the build
  • 13: 12ecc9c = 9: 77e482b win32/pthread: avoid name clashes with winpthread
  • 15: f4ebed7 = 10: 6af4208 git-compat-util: avoid redeclaring _DEFAULT_SOURCE
  • 89: 991c5bb = 11: 176776b Import the source code of mimalloc v2.2.6
  • 8: aa43d63 = 12: ddd5b65 remote-helper: check helper status after import/export
  • 11: 29434e3 = 13: 50eaec4 clean: do not traverse mount points
  • 228: 52287e6 = 14: f31f697 mimalloc: adjust for building inside Git
  • 9: 2970cad = 15: 2fc76a5 Always auto-gc after calling a fast-import transport
  • 10: 433fbf2 = 16: e428fcd mingw: prevent regressions with "drive-less" absolute paths
  • 14: 1891e11 = 17: 64cc5c0 clean: remove mount points when possible
  • 18: a4fe6c5 = 18: b6ed1cc mingw: demonstrate a git add issue with NTFS junctions
  • 91: 149dc78 = 19: 781a9a5 mimalloc: offer a build-time option to enable it
  • 19: 7240cd0 = 20: 8efcfa2 strbuf_realpath(): use platform-dependent API if available
  • 92: 836a752 = 21: d2a94df mingw: use mimalloc
  • 16: 5dc036e = 22: 8d3faa1 transport: optionally disable side-band-64k
  • 17: dccf34b (upstream: f0af8b4) < -: ------------ mingw: do resolve symlinks in getcwd()
  • 20: e4a4aa5 ! 23: 7b837f5 mingw: fix fatal error working on mapped network drives on Windows
    @@ Commit message
     
      ## compat/mingw.c ##
     @@ compat/mingw.c: char *mingw_getcwd(char *pointer, int len)
    - 			return NULL;
    + 	if (hnd != INVALID_HANDLE_VALUE) {
      		ret = GetFinalPathNameByHandleW(hnd, wpointer, ARRAY_SIZE(wpointer), 0);
      		CloseHandle(hnd);
     -		if (!ret || ret >= ARRAY_SIZE(wpointer))
  • 21: 45e3edf = 24: dafc08f clink.pl: fix MSVC compile script to handle libcurl-d.lib
  • 22: cf4f614 = 25: a69a076 mingw: implement a platform-specific strbuf_realpath()
  • 30: a57a900 = 26: ba8efe4 vcpkg_install: detect lack of Git
  • 23: e4a1ca6 = 27: 52fa2ff t5505/t5516: allow running without .git/branches/ in the templates
  • 31: 332d431 = 28: 1a46563 vcpkg_install: add comment regarding slow network connections
  • 24: d39efee = 29: 9931022 http: use new "best effort" strategy for Secure Channel revoke checking
  • 25: 9dc1a8b = 30: d941d76 t5505/t5516: fix white-space around redirectors
  • 26: ee46b58 = 31: feb30ec t3701: verify that we can add lots of files interactively
  • 27: 0ccb821 = 32: 49bb910 commit: accept "scissors" with CR/LF line endings
  • 28: 54a32d5 = 33: 9a3cde1 t0014: fix indentation
  • 29: e34bacd = 34: 977e14f git-gui: accommodate for intent-to-add files
  • 32: 7836eb8 = 35: 8d6eca9 vcbuild: install ARM64 dependencies when building ARM64 binaries
  • 33: 9e97ba9 = 36: b9a643e vcbuild: add an option to install individual 'features'
  • 34: a91e61c = 37: b74f300 cmake: allow building for Windows/ARM64
  • 35: 5946c35 = 38: deee242 ci(vs-build) also build Windows/ARM64 artifacts
  • 36: 0589429 = 39: 15d3496 Add schannel to curl installation
  • 37: 397169f = 40: 981b752 cmake(): allow setting HOST_CPU for cross-compilation
  • 38: c9629b7 = 41: e618f99 mingw: allow for longer paths in parse_interpreter()
  • 39: d8c2a1d = 42: 2d23682 compat/vcbuild: document preferred way to build in Visual Studio
  • 44: 77d6c57 = 43: 378c4b1 http: optionally send SSL client certificate
  • 46: 9e4b1be = 44: 26d62a9 hash-object: demonstrate a >4GB/LLP64 problem
  • 40: 151b419 = 45: 1c43a63 CMake: default Visual Studio generator has changed
  • 93: b9da4f8 ! 46: 6a4b7be object-file.c: use size_t for header lengths
    @@ Commit message
         Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
     
      ## object-file.c ##
    -@@ object-file.c: cleanup:
    +@@ object-file.c: out:
      static void hash_object_body(const struct git_hash_algo *algo, struct git_hash_ctx *c,
      			     const void *buf, unsigned long len,
      			     struct object_id *oid,
  • 41: b2b5edc = 47: 12cda97 .gitignore: add Visual Studio CMakeSetting.json file
  • 94: 840b7e4 ! 48: bf99aaf hash algorithms: use size_t for section lengths
    @@ Commit message
         Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
     
      ## object-file.c ##
    -@@ object-file.c: cleanup:
    +@@ object-file.c: out:
      }
      
      static void hash_object_body(const struct git_hash_algo *algo, struct git_hash_ctx *c,
  • 42: 565378c = 49: ea7b2b4 subtree: update contrib/subtree test target
  • 43: bf74d89 = 50: d7f4f1e CMakeLists: add default "x64-windows" arch for Visual Studio
  • 95: c8273e7 = 51: 59957d3 hash-object --stdin: verify that it works with >4GB/LLP64
  • 45: 637d76c = 52: 24dcc3d ci: run contrib/subtree tests in CI builds
  • 47: 6113951 = 53: c19744f CMake: show Win32 and Generator_platform build-option values
  • 48: 2299036 (upstream: 7997e36) < -: ------------ init: do parse all core.* settings early
  • 96: 8f24466 = 54: 35f6b16 hash-object: add another >4GB/LLP64 test case
  • 49: 00a38f6 = 55: a0c7290 setup: properly use "%(prefix)/" when in WSL
  • 50: 3d4b5cb = 56: 3f5f177 Add config option windows.appendAtomically
  • 97: b8c422a = 57: 536a9c2 hash-object: add a >4GB/LLP64 test case using filtered input
  • 51: 0153b8d = 58: cd35bf4 compat/mingw.c: do not warn when failing to get owner
  • 52: e9f5a26 = 59: 3b71603 mingw: $env:TERM="xterm-256color" for newer OSes
  • 53: b82ee10 = 60: 51a43ee winansi: check result and Buffer before using Name
  • 98: e9b7d36 = 61: e44f2dc windows: skip linking git-<command> for built-ins
  • 99: 7766c21 = 62: 6cbbd85 mingw: stop hard-coding CC = gcc
  • 55: 3fe2d2c = 63: 9a55aac MinGW: link as terminal server aware
  • 54: 4f94a73 = 64: 8b99bae mingw: change core.fsyncObjectFiles = 1 by default
  • 57: a737025 = 65: 26f1d08 Fix Windows version resources
  • 58: 3486fc6 = 66: e30b81f status: fix for old-style submodules with commondir
  • 100: 649d991 = 67: cf4891c mingw: drop the -D_USE_32BIT_TIME_T option
  • 101: 7f1f795 = 68: a0e1088 mingw: only use -Wl,--large-address-aware for 32-bit builds
  • 102: 6a316da = 69: 6fea6a9 mingw: avoid over-specifying --pic-executable
  • 103: 3e55d27 = 70: 3d73f95 mingw: set the prefix and HOST_CPU as per MSYS2's settings
  • 104: 8b4d819 = 71: 54efa9e mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
  • 105: 06a6b28 = 72: 75a3db4 mingw: rely on MSYS2's metadata instead of hard-coding it
  • 106: a69ae8d = 73: 15dca9c mingw: always define ETC_* for MSYS2 environments
  • 107: 1129fe0 = 74: c69a26a max_tree_depth: lower it for clang builds in general on Windows
  • 108: 23a8c95 = 75: dca03eb mingw: ensure valid CTYPE
  • 109: 939e919 = 76: d289ba8 mingw: allow git.exe to be used instead of the "Git wrapper"
  • 110: c9daf75 = 77: 95ddfdd mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system directory
  • 111: 94f27cb = 78: 72939a5 clink.pl: fix libexpatd.lib link error when using MSVC
  • 112: 0e7e9b2 = 79: 3097866 Makefile: clean up .ilk files when MSVC=1
  • 113: b905927 = 80: 0426502 vcbuild: add support for compiling Windows resource files
  • 114: 2e960e4 = 81: 31d4ba6 config.mak.uname: add git.rc to MSVC builds
  • 115: 3d19409 = 82: 6503444 clink.pl: ignore no-stack-protector arg on MSVC=1 builds
  • 56: b9c0086 = 83: 5e3de95 http: optionally load libcurl lazily
  • 116: 6504869 = 84: fca266c clink.pl: move default linker options for MSVC=1 builds
  • 59: f72f60c = 85: 34ee368 http: support lazy-loading libcurl also on Windows
  • 117: d4bc652 = 86: e4e19ad cmake: install headless-git.
  • 60: 23a0ac0 = 87: 6fa7c1f http: when loading libcurl lazily, allow for multiple SSL backends
  • 118: 4846187 = 88: 769e7b4 git.rc: include winuser.h
  • 61: 234a3bd = 89: b7e2064 mingw: do load libcurl dynamically by default
  • 62: 8e20dc1 = 90: 61df8a7 Add a GitHub workflow to verify that Git/Scalar work in Nano Server
  • 63: 4130382 = 91: 3ee2cd6 mingw: suggest windows.appendAtomically in more cases
  • 68: ef1254b = 92: d9992b0 ci: work around a problem with HTTP/2 vs libcurl v8.10.0
  • 69: ea0c51e = 93: 0ca7e76 revision: create mark_trees_uninteresting_dense()
  • 64: c8f0a92 = 94: 8af6f16 win32: use native ANSI sequence processing, if possible
  • 65: d9a0f9d = 95: 503d48a common-main.c: fflush stdout buffer upon exit
  • 66: ad8803a = 96: 232239b t5601/t7406(mingw): do run tests with symlink support
  • 67: 2734642 = 97: 5c8e9d6 win32: ensure that localtime_r() is declared even in i686 builds
  • 74: 0fb4cff = 98: 95025b7 Fallback to AppData if XDG_CONFIG_HOME is unset
  • 75: d2ae7c4 = 99: 4b35363 run-command: be helpful with Git LFS fails on Windows 7
  • 70: 9ae1397 = 100: 1e07325 survey: stub in new experimental 'git-survey' command
  • 71: 4e7453d = 101: 64e2fe8 survey: add command line opts to select references
  • 72: d787ed6 = 102: 9ffe2fa survey: start pretty printing data in table form
  • 73: 10df7ad = 103: 07d5439 survey: add object count summary
  • 76: 7035055 = 104: cb3a649 survey: summarize total sizes by object type
  • 77: 36f1a8c = 105: aff3c05 survey: show progress during object walk
  • 79: 1fc52bc = 106: 825465c survey: add ability to track prioritized lists
  • 78: c5c25d8 = 107: f68c874 mingw: make sure errno is set correctly when socket operations fail
  • 81: 0917777 = 108: 9236c29 survey: add report of "largest" paths
  • 80: 795a4f7 = 109: 59cf350 compat/mingw: handle WSA errors in strerror
  • 83: 1945122 = 110: 72e6d68 survey: add --top= option and config
  • 82: 11f07ee = 111: ab302c5 compat/mingw: drop outdated comment
  • 85: 851712a = 112: a7462d2 survey: clearly note the experimental nature in the output
  • 84: 3ee518d = 113: 3c8010b t0301: actually test credential-cache on Windows
  • 86: 58a61cd = 114: 2058ce7 credential-cache: handle ECONNREFUSED gracefully
  • 87: 170494e = 115: 7cd468e reftable: do make sure to use custom allocators
  • 88: 10a8284 = 116: 8d4233e check-whitespace: avoid alerts about upstream commits
  • 119: e1e39bf = 117: 57d08a7 git-svn: mark it as unsupported by the Git for Windows project
  • 120: f33769f = 118: cadb424 ci(macos): skip the git p4 tests
  • 126: a983fd1 = 119: fe80f05 git-gui--askyesno: fix funny text wrapping
  • 128: e43b297 = 120: 2bff880 git-gui--askyesno (mingw): use Git for Windows' icon, if available
  • 121: f153204 = 121: 17d98a5 Win32: make FILETIME conversion functions public
  • 122: 3ca6e76 = 122: 098ac49 Win32: dirent.c: Move opendir down
  • 123: 1307818 = 123: e58d579 mingw: make the dirent implementation pluggable
  • 124: 78fc807 = 124: eaeba69 Win32: make the lstat implementation pluggable
  • 125: 52937e3 = 125: ccd56b3 mingw: add infrastructure for read-only file system level caches
  • 127: d5219bf = 126: 3771fd9 mingw: add a cache below mingw's lstat and dirent implementations
  • 129: 7841a15 = 127: 35d3ed9 fscache: load directories only once
  • 130: 534b4d1 = 128: 17d3dde fscache: add key for GIT_TRACE_FSCACHE
  • 131: 3aea2e5 = 129: 276c2d1 fscache: remember not-found directories
  • 132: a063a3b = 130: 7294688 fscache: add a test for the dir-not-found optimization
  • 133: c6a1d46 = 131: 7f3cac2 add: use preload-index and fscache for performance
  • 134: 101718f = 132: a3cf0bc dir.c: make add_excludes aware of fscache during status
  • 135: b36f530 = 133: b146fcd fscache: make fscache_enabled() public
  • 136: c05a407 = 134: 57d5751 dir.c: regression fix for add_excludes with fscache
  • 137: bc0a705 = 135: 2fe0c78 fetch-pack.c: enable fscache for stats under .git/objects
  • 138: 4cf77f3 = 136: 007a178 checkout.c: enable fscache for checkout again
  • 139: 857a0d5 = 137: 19a6055 Enable the filesystem cache (fscache) in refresh_index().
  • 140: 0555530 = 138: 8d98586 fscache: use FindFirstFileExW to avoid retrieving the short name
  • 141: 44c6b29 = 139: eeb4793 fscache: add GIT_TEST_FSCACHE support
  • 142: 6784e9e = 140: 522f09e fscache: add fscache hit statistics
  • 143: 35652a3 = 141: e382054 unpack-trees: enable fscache for sparse-checkout
  • 144: 7daf7fa = 142: 3ca259d status: disable and free fscache at the end of the status command
  • 145: 6ae87a2 = 143: a9412fd mem_pool: add GIT_TRACE_MEMPOOL support
  • 146: 965494e = 144: 0c14c94 fscache: fscache takes an initial size
  • 147: aa87b16 = 145: a7aa389 fscache: update fscache to be thread specific instead of global
  • 148: 7e4634b = 146: 0797e59 fscache: teach fscache to use mempool
  • 149: 5d3269c = 147: de83105 fscache: make fscache_enable() thread safe
  • 150: 778c05b = 148: c7db5eb fscache: teach fscache to use NtQueryDirectoryFile
  • 151: 6e866f7 = 149: 3396d0e fscache: remember the reparse tag for each entry
  • 152: 257ad8f = 150: 4942b90 fscache: implement an FSCache-aware is_mount_point()
  • 153: 817abd6 = 151: b6b2a29 clean: make use of FSCache
  • 154: bc43c6e = 152: 8b4642d pack-objects (mingw): demonstrate a segmentation fault with large deltas
  • 155: e0bb0fc = 153: 6ffcfa0 mingw: support long paths
  • 156: 4df4c8b = 154: e0700cc Win32: fix 'lstat("dir/")' with long paths
  • 157: b8fb8c0 = 155: 9037d59 win32(long path support): leave drive-less absolute paths intact
  • 158: 5108b61 = 156: c513730 compat/fsmonitor/fsm-*-win32: support long paths
  • 159: d13aa68 = 157: 2ef9177 clean: suggest using core.longPaths if paths are too long to remove
  • 160: 75c9a0d = 158: 7df53c6 mingw: Support git_terminal_prompt with more terminals
  • 161: 48631e1 = 159: 744a18f compat/terminal.c: only use the Windows console if bash 'read -r' fails
  • 162: 6ed8853 = 160: 2d23aa8 mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
  • 166: 6d8f233 = 161: 4800e92 Win32: don't call GetFileAttributes twice in mingw_lstat()
  • 167: 737ad11 = 162: 828fd57 Win32: implement stat() with symlink support
  • 168: e64833d = 163: ed4c8fc Win32: remove separate do_lstat() function
  • 169: 264325a = 164: a5fd747 Win32: let mingw_lstat() error early upon problems with reparse points
  • 170: 59c9e23 = 165: 2631444 mingw: teach fscache and dirent about symlinks
  • 171: 6b9ee97 = 166: e27f318 Win32: lstat(): return adequate stat.st_size for symlinks
  • 172: 61d130e = 167: 5281b36 Win32: factor out retry logic
  • 173: a2de74c = 168: 2067324 Win32: change default of 'core.symlinks' to false
  • 174: a1d0f3f = 169: c71745e Win32: add symlink-specific error codes
  • 175: 371fbd9 = 170: 606795c Win32: mingw_unlink: support symlinks to directories
  • 176: 5e1fa35 = 171: cf317d3 Win32: mingw_rename: support renaming symlinks
  • 177: c5c5a1b = 172: bd709be Win32: mingw_chdir: change to symlink-resolved directory
  • 178: 32fd784 = 173: 9f7462a Win32: implement readlink()
  • 179: 85dc713 = 174: 08dc544 mingw: lstat: compute correct size for symlinks
  • 180: 5ea5a19 = 175: f7fa6da Win32: implement basic symlink() functionality (file symlinks only)
  • 181: 64f0b61 = 176: c1af98d Win32: symlink: add support for symlinks to directories
  • 182: ef80a1e = 177: 2e89d17 mingw: try to create symlinks without elevated permissions
  • 183: 3979ab7 = 178: 0797bec mingw: emulate stat() a little more faithfully
  • 184: 3691e9e = 179: 308d42a mingw: special-case index entries for symlinks with buggy size
  • 185: 5e432e7 = 180: f69fa96 mingw: introduce code to detect whether we're inside a Windows container
  • 189: ada6887 = 181: 449b1de mingw: when running in a Windows container, try to rename() harder
  • 191: 73c20fa = 182: b15526d mingw: move the file_attr_to_st_mode() function definition
  • 186: ab106af = 183: 147cd00 Win32: symlink: move phantom symlink creation to a separate function
  • 193: 845bfa7 = 184: d24092d mingw: Windows Docker volumes are not symbolic links
  • 187: ca8467d = 185: ac12ed4 Introduce helper to create symlinks that knows about index_state
  • 195: 0e9a2a2 = 186: 585ea1c mingw: work around rename() failing on a read-only file
  • 188: c9f4d0c = 187: e46dbe0 mingw: allow to specify the symlink type in .gitattributes
  • 190: 198b593 = 188: e045d3d Win32: symlink: add test for symlink attribute
  • 192: da65298 = 189: 62f455b mingw: explicitly specify with which cmd to prefix the cmdline
  • 194: 4c4ce15 = 190: c2173f3 mingw: when path_lookup() failed, try BusyBox
  • 196: fc0a47f = 191: 6fdd13f test-tool: learn to act as a drop-in replacement for iconv
  • 197: bc8d94d = 192: 48ba650 tests(mingw): if iconv is unavailable, use test-helper --iconv
  • 198: 2f3b70f = 193: a1d582f gitattributes: mark .png files as binary
  • 199: 4453543 = 194: 5e39a0d tests: move test PNGs into t/lib-diff/
  • 200: fb2fc45 = 195: cf206cd tests: only override sort & find if there are usable ones in /usr/bin/
  • 201: 0d1d892 = 196: fed4d32 tests: use the correct path separator with BusyBox
  • 202: 78d5677 = 197: ad12b73 mingw: only use Bash-ism builtin pwd -W when available
  • 203: a432140 = 198: c24caaa tests (mingw): remove Bash-specific pwd option
  • 204: 34654b2 = 199: bd0512a test-lib: add BUSYBOX prerequisite
  • 205: 5435150 = 200: f499f76 t5003: use binary file from t/lib-diff/
  • 206: e78d797 = 201: d128b1f t5532: workaround for BusyBox on Windows
  • 207: 1c6cc4f = 202: 40eda0b t5605: special-case hardlink test for BusyBox-w32
  • 208: cdefdda = 203: 18f6748 t5813: allow for $PWD to be a Windows path
  • 209: e0ca06c = 204: 3fe40af t9200: skip tests when $PWD contains a colon
  • 210: 3359767 = 205: 2761b94 mingw: kill child processes in a gentler way
  • 211: 45f857b = 206: d8b87aa mingw: optionally enable wsl compability file mode bits
  • 212: 93517b0 = 207: ee1c9bb mingw: really handle SIGINT
  • 213: 63c8ebd = 208: bd51889 Partially un-revert "editor: save and reset terminal after calling EDITOR"
  • 215: e084de9 ! 209: 44e0ec4 reset: reinstate support for the deprecated --stdin option
    @@ Commit message
         Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
     
      ## Documentation/git-reset.adoc ##
    -@@ Documentation/git-reset.adoc: git reset [-q] [<tree-ish>] [--] <pathspec>...
    +@@ Documentation/git-reset.adoc: git reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]
    + git reset [-q] [<tree-ish>] [--] <pathspec>...
      git reset [-q] [--pathspec-from-file=<file> [--pathspec-file-nul]] [<tree-ish>]
      git reset (--patch | -p) [<tree-ish>] [--] [<pathspec>...]
    - git reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]
     +DEPRECATED: git reset [-q] [--stdin [-z]] [<tree-ish>]
      
      DESCRIPTION
  • 214: 1c0a7e7 = 210: 81ab480 Add a GitHub workflow to monitor component updates
  • 216: 1904cea = 211: 35e4e27 fsmonitor: reintroduce core.useBuiltinFSMonitor
  • 218: 23e9440 = 212: 149d94e Describe Git for Windows' architecture [no ci]
  • 219: 677de27 = 213: b7016cc Modify the Code of Conduct for Git for Windows
  • 220: b2fe567 = 214: 89e8400 CONTRIBUTING.md: add guide for first-time contributors
  • 221: 21a1601 = 215: 8ff5b42 README.md: Add a Windows-specific preamble
  • 222: e944b97 = 216: 2ddec10 Add an issue template
  • 223: 1de126f = 217: 0159c5d Modify the GitHub Pull Request template (to reflect Git for Windows)
  • 217: e08b703 = 218: 9311564 dependabot: help keeping GitHub Actions versions up to date
  • 224: c818d9e = 219: d3ac8dd SECURITY.md: document Git for Windows' policies
  • 225: 97f4305 = 220: 55a1aae Temporarily revert "mimalloc: adjust for building inside Git"
  • 226: ce04f03 = 221: b6ae542 Temporarily revert "Import the source code of mimalloc"
  • 227: 266c6eb = 222: 1073480 Import the source code of mimalloc v2.2.7
  • 90: 0971b7f = 223: e6da195 mimalloc: adjust for building inside Git
  • 163: c8a8772 (upstream: 0fcbb57) < -: ------------ strbuf_readlink: don't call readlink twice if hint is the exact link size
  • 164: c00f264 (upstream: 21f368d) < -: ------------ strbuf_readlink: support link targets that exceed PATH_MAX
  • 165: ac035ff (upstream: aa7b886) < -: ------------ lockfile.c: use is_dir_sep() instead of hardcoded '/' checks

PhilipOakley and others added 30 commits January 22, 2026 14:34
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>
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>
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>
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 git-for-windows#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 git-for-windows#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 git-for-windows#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 git-for-windows#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>
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
git-for-windows#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>
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>
In order to be a better Windows citizenship, Git should
save its configuration files on AppData folder. This can
enables git configuration files be replicated between machines
using the same Microsoft account logon which would reduce the
friction of setting up Git on new systems. Therefore, if
%APPDATA%\Git\config exists, we use it; otherwise
$HOME/.config/git/config is used.

Signed-off-by: Ariel Lourenco <ariellourenco@users.noreply.github.com>
Git LFS is now built with Go 1.21 which no longer supports Windows 7.
However, Git for Windows still wants to support Windows 7.

Ideally, Git LFS would re-introduce Windows 7 support until Git for
Windows drops support for Windows 7, but that's not going to happen:
git-for-windows#4996 (comment)

The next best thing we can do is to let the users know what is
happening, and how to get out of their fix, at least.

This is not quite as easy as it would first seem because programs
compiled with Go 1.21 or newer will simply throw an exception and fail
with an Access Violation on Windows 7.

The only way I found to address this is to replicate the logic from Go's
very own `version` command (which can determine the Go version with
which a given executable was built) to detect the situation, and in that
case offer a helpful error message.

This addresses git-for-windows#4996.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The sparse tree walk algorithm was created in d5d2e93 (revision:
implement sparse algorithm, 2019-01-16) and involves using the
mark_trees_uninteresting_sparse() method. This method takes a repository
and an oidset of tree IDs, some of which have the UNINTERESTING flag and
some of which do not.

Create a method that has an equivalent set of preconditions but uses a
"dense" walk (recursively visits all reachable trees, as long as they
have not previously been marked UNINTERESTING). This is an important
difference from mark_tree_uninteresting(), which short-circuits if the
given tree has the UNINTERESTING flag.

A use of this method will be added in a later change, with a condition
set whether the sparse or dense approach should be used.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
As reported in https://lore.kernel.org/git/ZuPKvYP9ZZ2mhb4m@pks.im/,
libcurl v8.10.0 had a regression that was picked up by Git's t5559.30
"large fetch-pack requests can be sent using chunked encoding".

This bug was fixed in libcurl v8.10.1.

Sadly, the macos-13 runner image was updated in the brief window between
these two libcurl versions, breaking each and every CI build, as
reported at git-for-windows#5159.

This would usually not matter, we would just ignore the failing CI
builds until the macos-13 runner image is rebuilt in a couple of days,
and then the CI builds would succeed again.

However.

As has become the custom, a surprise Git version was released, and now
that Git for Windows wants to follow suit, since Git for Windows has
this custom of trying to never release a version with a failing CI
build, we _must_ work around it.

This patch implements this work-around, basically for the sake of Git
for Windows v2.46.2's CI build.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Start work on a new 'git survey' command to scan the repository
for monorepo performance and scaling problems.  The goal is to
measure the various known "dimensions of scale" and serve as a
foundation for adding additional measurements as we learn more
about Git monorepo scaling problems.

The initial goal is to complement the scanning and analysis performed
by the GO-based 'git-sizer' (https://github.com/github/git-sizer) tool.
It is hoped that by creating a builtin command, we may be able to take
advantage of internal Git data structures and code that is not
accessible from GO to gain further insight into potential scaling
problems.

Co-authored-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Jeff Hostetler <git@jeffhostetler.com>
Signed-off-by: Derrick Stolee <stolee@gmail.com>
dscho added 15 commits January 22, 2026 18:00
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 git-for-windows#1645 from ZCube/master

Support windows container.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
…ws#4527)

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>
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>
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>
…updates

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 force-pushed the tentative/rebase-to-2.53.0-rc1 branch from ab28f0f to 5f32b8d Compare January 22, 2026 17:18
@dscho
Copy link
Member Author

dscho commented Jan 22, 2026

For the record, I reordered the commits so that mimalloc v2.2.6 is not imported, then that import is undone, and then v2.2.7 is imported.

Range-diff
  • 1: 176776b < -: ------------ Import the source code of mimalloc v2.2.6
  • 2: f31f697 < -: ------------ mimalloc: adjust for building inside Git
  • 131: 1073480 = 1: 6ea9c7b Import the source code of mimalloc v2.2.7
  • 132: e6da195 = 2: 9e36739 mimalloc: adjust for building inside Git
  • 3: 781a9a5 = 3: 8fec3de mimalloc: offer a build-time option to enable it
  • 4: d2a94df = 4: e12539b mingw: use mimalloc
  • 5: e44f2dc = 5: f474630 windows: skip linking git-<command> for built-ins
  • 6: 6cbbd85 = 6: c1ef2a6 mingw: stop hard-coding CC = gcc
  • 7: cf4891c = 7: 05de8af mingw: drop the -D_USE_32BIT_TIME_T option
  • 8: a0e1088 = 8: 918ba07 mingw: only use -Wl,--large-address-aware for 32-bit builds
  • 9: 6fea6a9 = 9: 1aa5301 mingw: avoid over-specifying --pic-executable
  • 10: 3d73f95 = 10: 72e167c mingw: set the prefix and HOST_CPU as per MSYS2's settings
  • 11: 54efa9e = 11: 0b2e0b1 mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
  • 12: 75a3db4 = 12: d9d089e mingw: rely on MSYS2's metadata instead of hard-coding it
  • 13: 15dca9c = 13: 296bcb1 mingw: always define ETC_* for MSYS2 environments
  • 14: c69a26a = 14: 04aa4bc max_tree_depth: lower it for clang builds in general on Windows
  • 15: dca03eb = 15: 28dd1b6 mingw: ensure valid CTYPE
  • 16: d289ba8 = 16: 32b25ff mingw: allow git.exe to be used instead of the "Git wrapper"
  • 17: 95ddfdd = 17: 8225152 mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system directory
  • 18: 72939a5 = 18: 50fbcd2 clink.pl: fix libexpatd.lib link error when using MSVC
  • 19: 3097866 = 19: 725cb58 Makefile: clean up .ilk files when MSVC=1
  • 20: 0426502 = 20: f19d985 vcbuild: add support for compiling Windows resource files
  • 21: 31d4ba6 = 21: c6db63d config.mak.uname: add git.rc to MSVC builds
  • 22: 6503444 = 22: edbffbb clink.pl: ignore no-stack-protector arg on MSVC=1 builds
  • 23: fca266c = 23: 2f01002 clink.pl: move default linker options for MSVC=1 builds
  • 24: e4e19ad = 24: 0f05ae1 cmake: install headless-git.
  • 25: 769e7b4 = 25: 5f10768 git.rc: include winuser.h
  • 26: 57d08a7 = 26: f5ec36e git-svn: mark it as unsupported by the Git for Windows project
  • 27: cadb424 = 27: e9815f7 ci(macos): skip the git p4 tests
  • 28: fe80f05 = 28: e644b3c git-gui--askyesno: fix funny text wrapping
  • 29: 2bff880 = 29: 1459c28 git-gui--askyesno (mingw): use Git for Windows' icon, if available
  • 30: 17d98a5 = 30: 7f7c792 Win32: make FILETIME conversion functions public
  • 31: 098ac49 = 31: 91f7f63 Win32: dirent.c: Move opendir down
  • 32: e58d579 = 32: 9f7087c mingw: make the dirent implementation pluggable
  • 33: eaeba69 = 33: b7965da Win32: make the lstat implementation pluggable
  • 34: ccd56b3 = 34: 84d3560 mingw: add infrastructure for read-only file system level caches
  • 35: 3771fd9 = 35: 7c775c7 mingw: add a cache below mingw's lstat and dirent implementations
  • 36: 35d3ed9 = 36: 4571143 fscache: load directories only once
  • 37: 17d3dde = 37: e51b4ed fscache: add key for GIT_TRACE_FSCACHE
  • 38: 276c2d1 = 38: 7db33ae fscache: remember not-found directories
  • 39: 7294688 = 39: 3c86624 fscache: add a test for the dir-not-found optimization
  • 40: 7f3cac2 = 40: cc29af6 add: use preload-index and fscache for performance
  • 41: a3cf0bc = 41: bebad96 dir.c: make add_excludes aware of fscache during status
  • 42: b146fcd = 42: b922002 fscache: make fscache_enabled() public
  • 43: 57d5751 = 43: 14874a1 dir.c: regression fix for add_excludes with fscache
  • 44: 2fe0c78 = 44: 92c2cee fetch-pack.c: enable fscache for stats under .git/objects
  • 45: 007a178 = 45: a583117 checkout.c: enable fscache for checkout again
  • 46: 19a6055 = 46: 183a9fd Enable the filesystem cache (fscache) in refresh_index().
  • 47: 8d98586 = 47: 57a05d9 fscache: use FindFirstFileExW to avoid retrieving the short name
  • 48: eeb4793 = 48: 1623b4b fscache: add GIT_TEST_FSCACHE support
  • 49: 522f09e = 49: 80ad05d fscache: add fscache hit statistics
  • 50: e382054 = 50: 9087916 unpack-trees: enable fscache for sparse-checkout
  • 51: 3ca259d = 51: f80f122 status: disable and free fscache at the end of the status command
  • 52: a9412fd = 52: d677459 mem_pool: add GIT_TRACE_MEMPOOL support
  • 53: 0c14c94 = 53: 5a61851 fscache: fscache takes an initial size
  • 54: a7aa389 = 54: d3f50e9 fscache: update fscache to be thread specific instead of global
  • 55: 0797e59 = 55: 06d8c74 fscache: teach fscache to use mempool
  • 56: de83105 = 56: afa186d fscache: make fscache_enable() thread safe
  • 57: c7db5eb = 57: a017334 fscache: teach fscache to use NtQueryDirectoryFile
  • 58: 3396d0e = 58: 664e5ab fscache: remember the reparse tag for each entry
  • 59: 4942b90 = 59: 463483a fscache: implement an FSCache-aware is_mount_point()
  • 60: b6b2a29 = 60: ed191e3 clean: make use of FSCache
  • 61: 8b4642d = 61: 2183eb6 pack-objects (mingw): demonstrate a segmentation fault with large deltas
  • 62: 6ffcfa0 = 62: 0d86933 mingw: support long paths
  • 63: e0700cc = 63: 694f810 Win32: fix 'lstat("dir/")' with long paths
  • 64: 9037d59 = 64: bc025c8 win32(long path support): leave drive-less absolute paths intact
  • 65: c513730 = 65: f87de62 compat/fsmonitor/fsm-*-win32: support long paths
  • 66: 2ef9177 = 66: 9943bd6 clean: suggest using core.longPaths if paths are too long to remove
  • 67: 7df53c6 = 67: 88524ea mingw: Support git_terminal_prompt with more terminals
  • 68: 744a18f = 68: 6b65235 compat/terminal.c: only use the Windows console if bash 'read -r' fails
  • 69: 2d23aa8 = 69: cd6db54 mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
  • 70: 4800e92 = 70: 86581d6 Win32: don't call GetFileAttributes twice in mingw_lstat()
  • 71: 828fd57 = 71: efb8e66 Win32: implement stat() with symlink support
  • 72: ed4c8fc = 72: f30c79a Win32: remove separate do_lstat() function
  • 73: a5fd747 = 73: e5004cc Win32: let mingw_lstat() error early upon problems with reparse points
  • 74: 2631444 = 74: 8b0e6c1 mingw: teach fscache and dirent about symlinks
  • 75: e27f318 = 75: ee52791 Win32: lstat(): return adequate stat.st_size for symlinks
  • 76: 5281b36 = 76: 6ceb5ef Win32: factor out retry logic
  • 77: 2067324 = 77: ae6ec2e Win32: change default of 'core.symlinks' to false
  • 78: c71745e = 78: bd61874 Win32: add symlink-specific error codes
  • 79: 606795c = 79: 830ffac Win32: mingw_unlink: support symlinks to directories
  • 80: cf317d3 = 80: 365d9ef Win32: mingw_rename: support renaming symlinks
  • 81: bd709be = 81: ef76ad7 Win32: mingw_chdir: change to symlink-resolved directory
  • 82: 9f7462a = 82: 38cb381 Win32: implement readlink()
  • 83: 08dc544 = 83: 5540862 mingw: lstat: compute correct size for symlinks
  • 84: f7fa6da = 84: c92295d Win32: implement basic symlink() functionality (file symlinks only)
  • 85: c1af98d = 85: 6c58ba2 Win32: symlink: add support for symlinks to directories
  • 86: 2e89d17 = 86: 797f4d2 mingw: try to create symlinks without elevated permissions
  • 87: 0797bec = 87: daac581 mingw: emulate stat() a little more faithfully
  • 88: 308d42a = 88: 01d54a4 mingw: special-case index entries for symlinks with buggy size
  • 89: f69fa96 = 89: 4958bab mingw: introduce code to detect whether we're inside a Windows container
  • 90: 449b1de = 90: 1cb648f mingw: when running in a Windows container, try to rename() harder
  • 91: b15526d = 91: a86a9ba mingw: move the file_attr_to_st_mode() function definition
  • 93: d24092d = 92: eb05398 mingw: Windows Docker volumes are not symbolic links
  • 92: 147cd00 = 93: 8fddb92 Win32: symlink: move phantom symlink creation to a separate function
  • 95: 585ea1c = 94: 82b409f mingw: work around rename() failing on a read-only file
  • 94: ac12ed4 = 95: ceb439c Introduce helper to create symlinks that knows about index_state
  • 96: e46dbe0 = 96: 2b8f87f mingw: allow to specify the symlink type in .gitattributes
  • 97: e045d3d = 97: 746dcb6 Win32: symlink: add test for symlink attribute
  • 98: 62f455b = 98: 1d994c0 mingw: explicitly specify with which cmd to prefix the cmdline
  • 99: c2173f3 = 99: f694304 mingw: when path_lookup() failed, try BusyBox
  • 100: 6fdd13f = 100: c39fd21 test-tool: learn to act as a drop-in replacement for iconv
  • 101: 48ba650 = 101: a3df806 tests(mingw): if iconv is unavailable, use test-helper --iconv
  • 102: a1d582f = 102: 06e2aff gitattributes: mark .png files as binary
  • 103: 5e39a0d = 103: 1173e4b tests: move test PNGs into t/lib-diff/
  • 104: cf206cd = 104: 5e360db tests: only override sort & find if there are usable ones in /usr/bin/
  • 105: fed4d32 = 105: 4ff2d8e tests: use the correct path separator with BusyBox
  • 106: ad12b73 = 106: 1e820ff mingw: only use Bash-ism builtin pwd -W when available
  • 107: c24caaa = 107: 8a93857 tests (mingw): remove Bash-specific pwd option
  • 108: bd0512a = 108: f77554d test-lib: add BUSYBOX prerequisite
  • 109: f499f76 = 109: da2dc16 t5003: use binary file from t/lib-diff/
  • 110: d128b1f = 110: cf34617 t5532: workaround for BusyBox on Windows
  • 111: 40eda0b = 111: 11fdc41 t5605: special-case hardlink test for BusyBox-w32
  • 112: 18f6748 = 112: e52cd4a t5813: allow for $PWD to be a Windows path
  • 113: 3fe40af = 113: 25b6a2d t9200: skip tests when $PWD contains a colon
  • 115: d8b87aa = 114: 997c3b5 mingw: optionally enable wsl compability file mode bits
  • 121: 149d94e = 115: 07fca2f Describe Git for Windows' architecture [no ci]
  • 122: b7016cc = 116: e488bbd Modify the Code of Conduct for Git for Windows
  • 123: 89e8400 = 117: 6fdb617 CONTRIBUTING.md: add guide for first-time contributors
  • 124: 8ff5b42 = 118: ae44685 README.md: Add a Windows-specific preamble
  • 125: 2ddec10 = 119: e54f74d Add an issue template
  • 114: 2761b94 = 120: 4292bc3 mingw: kill child processes in a gentler way
  • 119: 81ab480 = 121: 70d123f Add a GitHub workflow to monitor component updates
  • 126: 0159c5d = 122: 67eb5e4 Modify the GitHub Pull Request template (to reflect Git for Windows)
  • 116: ee1c9bb = 123: 5ab983f mingw: really handle SIGINT
  • 117: bd51889 = 124: 902e343 Partially un-revert "editor: save and reset terminal after calling EDITOR"
  • 118: 44e0ec4 = 125: 51e1360 reset: reinstate support for the deprecated --stdin option
  • 120: 35e4e27 = 126: 5ea59fd fsmonitor: reintroduce core.useBuiltinFSMonitor
  • 127: 9311564 = 127: 95d9d1c dependabot: help keeping GitHub Actions versions up to date
  • 128: d3ac8dd = 128: b810f3d SECURITY.md: document Git for Windows' policies
  • 129: 55a1aae < -: ------------ Temporarily revert "mimalloc: adjust for building inside Git"
  • 130: b6ae542 < -: ------------ Temporarily revert "Import the source code of mimalloc"

@dscho
Copy link
Member Author

dscho commented Jan 22, 2026

/git-artifacts

The tag-git workflow run was started

@dscho
Copy link
Member Author

dscho commented Jan 22, 2026

/git-artifacts

The tag-git workflow run was started

Something is seriously going wrong here. The webhook event that is sent after the tag-git Check Run completed has as sender:

  "sender": {
    "login": "ghost",
    "id": 10137,
    "node_id": "MDQ6VXNlcjEwMTM3",
    "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/ghost",
    "html_url": "https://github.com/ghost",
    "followers_url": "https://api.github.com/users/ghost/followers",
    "following_url": "https://api.github.com/users/ghost/following{/other_user}",
    "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
    "organizations_url": "https://api.github.com/users/ghost/orgs",
    "repos_url": "https://api.github.com/users/ghost/repos",
    "events_url": "https://api.github.com/users/ghost/events{/privacy}",
    "received_events_url": "https://api.github.com/users/ghost/received_events",
    "type": "User",
    "user_view_type": "public",
    "site_admin": false
  },

As a consequence, the GitForWindowsHelper GitHub App complains that the event should not be handled:

500 ghost is not allowed to do that

Hrmpf.

@rimrul rimrul linked an issue Jan 23, 2026 that may be closed by this pull request
@dscho
Copy link
Member Author

dscho commented Jan 23, 2026

500 ghost is not allowed to do that

Hrmpf.

I worked around that via git-for-windows/gfw-helper-github-app@2627695

@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 Jan 23, 2026

/release

The release-git workflow run was started

@dscho
Copy link
Member Author

dscho commented Jan 23, 2026

/release

Well, this webhook delivery really timed out waiting for the workflow to start :-(

image

@gitforwindowshelper
Copy link

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

@dscho
Copy link
Member Author

dscho commented Jan 23, 2026

Wow, this time round what is supposed to automate Git for Windows, but no longer does, really gives me grief:

$ ./get-webhook-event-payload.js --date='2026-01-23 14:40:48' --event-type='workflow_run' |
sed 's/^[^ :]*: *[^{]*//;/^$/d;1,10s/^{/[&/;$s/$/]/;s/^}$/&,/' |
jq '.[0].response.payload'
"Expected 1 candidate PR, got 0"

There is a PR, though...

@gitforwindowshelper gitforwindowshelper bot merged commit 5f32b8d into git-for-windows:main Jan 23, 2026
42 checks passed
@dscho dscho deleted the tentative/rebase-to-2.53.0-rc1 branch January 23, 2026 15:10
@dscho
Copy link
Member Author

dscho commented Jan 23, 2026

Wow, this time round what is supposed to automate Git for Windows, but no longer does, really gives me grief:

$ ./get-webhook-event-payload.js --date='2026-01-23 14:40:48' --event-type='workflow_run' |
sed 's/^[^ :]*: *[^{]*//;/^$/d;1,10s/^{/[&/;$s/$/]/;s/^}$/&,/' |
jq '.[0].response.payload'
"Expected 1 candidate PR, got 0"

There is a PR, though...

Well, the reason was that it was looking for that tell-tale "The release-git workflow was started" in a PR comment. And since the previous webhook run timed out "waiting" for that workflow run to be created (simply not finding it because of an incomplete work-around for the under-announced change that the >${date} form of date ranges is no longer supported in GitHub's search API), the latter webhook run could not find the PR :-(

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.53.0-rc1