Skip to content

Rebase shears/seen (#23573748360)#66

Open
gitforwindowshelper[bot] wants to merge 280 commits intobase/shears/seen-23573748360from
shears/seen-23573748360
Open

Rebase shears/seen (#23573748360)#66
gitforwindowshelper[bot] wants to merge 280 commits intobase/shears/seen-23573748360from
shears/seen-23573748360

Conversation

@gitforwindowshelper
Copy link
Copy Markdown

Workflow run

Rebase Summary: seen

From: c0d75ddca1 (mingw: use strftime() directly in UCRT builds (git-for-windows#6130), 2026-03-25) (d0329062e4..c0d75ddca1)

Resolved: 272dc5f (t9200: skip tests when $PWD contains a colon, 2017-07-07)

combined PWD colon check with upstream's set-e-clean CVS status pattern

Range-diff
1:  272dc5fced ! 1:  aa6552d8ac t9200: skip tests when $PWD contains a colon
    @@ t/t9200-git-cvsexportcommit.sh: if ! test_have_prereq PERL; then
     +	;;
     +esac
     +
    - cvs >/dev/null 2>&1
    - if test $? -ne 1
    + status=0; cvs >/dev/null 2>&1 || status=$?
    + if test $status -ne 1
      then

Resolved: bd6bc3d (Merge branch 'disallow-ntlm-auth-by-default', 2026-02-12)

resolved add/add conflicts in http.c and t/lib-httpd.sh by keeping both sides (retry env vars + NTLM auth init, http-429.sh + ntlm-handshake.sh)

Range-diff

Resolved: c0d75ddca1 (mingw: use strftime() directly in UCRT builds (git-for-windows#6130), 2026-03-25)

resolved all 9 conflicting files by taking HEAD; the merge commit only changes compat/mingw.c and all conflicts were collateral merge artifacts

Range-diff

To: c0e92abe25 (mingw: use strftime() directly in UCRT builds (git-for-windows#6130), 2026-03-25) (d15a443502..c0e92abe25)

Statistics

Metric Count
Total conflicts 3
Skipped (upstreamed) 0
Resolved surgically 3
Range-diff (click to expand)
  1:  4d5c9c24f3 =   1:  0269c7de11 unix-socket: avoid leak when initialization fails
  2:  d1db0bc3fb =   2:  ab7d669146 grep: prevent `^$` false match at end of file
 18:  31848fdef3 =   3:  b82296816a vcpkg_install: detect lack of Git
 19:  e9f96e361b =   4:  1fdb9d9a5d vcpkg_install: add comment regarding slow network connections
 20:  edb9f99db7 =   5:  3db87e2263 vcbuild: install ARM64 dependencies when building ARM64 binaries
 21:  3afcac4100 =   6:  39eea99364 vcbuild: add an option to install individual 'features'
 22:  49f9276338 =   7:  7ba1ef7333 cmake: allow building for Windows/ARM64
  3:  e2e1c5070c =   8:  dcf5ef469b mingw: include the Python parts in the build
 23:  cf0a766f51 =   9:  d3e2a71143 ci(vs-build) also build Windows/ARM64 artifacts
  4:  3f7a5a2550 =  10:  728970edae win32/pthread: avoid name clashes with winpthread
 25:  5618f6f279 =  11:  868c07db9d Add schannel to curl installation
 26:  f5743d3870 =  12:  81d2ddbf33 hash-object: demonstrate a >4GB/LLP64 problem
  5:  e6a5ca5dcf =  13:  6d2fc43c35 git-compat-util: avoid redeclaring _DEFAULT_SOURCE
 28:  51801d7462 =  14:  11c9b5161c cmake(): allow setting HOST_CPU for cross-compilation
 29:  673e56084d =  15:  7ab2d3048a object-file.c: use size_t for header lengths
  6:  14436af565 =  16:  3d394a3db7 Import the source code of mimalloc v2.2.7
  7:  e4ba9c6ca3 =  17:  a8d10ff35b t9350: point out that refs are not updated correctly
 31:  21d93ab976 =  18:  8808f61720 CMake: default Visual Studio generator has changed
 32:  7af8d0e868 =  19:  b156394245 hash algorithms: use size_t for section lengths
  8:  ba1f160289 =  20:  4b4eb39cb3 mimalloc: adjust for building inside Git
  9:  2458a9c7b9 =  21:  827264fde2 transport-helper: add trailing --
 34:  d784391c21 =  22:  ee18b13bb6 mingw: demonstrate a `git add` issue with NTFS junctions
 35:  c6485de8f8 =  23:  b959a4feca .gitignore: add Visual Studio CMakeSetting.json file
 36:  deca46fe3b =  24:  5689a80fca hash-object --stdin: verify that it works with >4GB/LLP64
 10:  d5591ff77d =  25:  3468842144 mimalloc: offer a build-time option to enable it
 38:  d2bb4b6381 =  26:  eb7a7efa69 t5505/t5516: allow running without `.git/branches/` in the templates
 11:  cc8362814a =  27:  6fbc4618e6 remote-helper: check helper status after import/export
 12:  e672fcf209 =  28:  e089178be4 clean: do not traverse mount points
 39:  4bf6909e57 =  29:  65518f4af6 strbuf_realpath(): use platform-dependent API if available
 40:  d2fb6e0c50 =  30:  b115b5ad31 http: use new "best effort" strategy for Secure Channel revoke checking
 41:  6246a69f88 =  31:  ddf422a7c5 subtree: update `contrib/subtree` `test` target
 42:  faa2bf6971 =  32:  159599daa1 CMakeLists: add default "x64-windows" arch for Visual Studio
 43:  a54acf244e =  33:  df649c31ee hash-object: add another >4GB/LLP64 test case
 13:  4a146e7c11 =  34:  e74f7e8731 mingw: use mimalloc
 47:  b4be97290a =  35:  a5efeadddc t5505/t5516: fix white-space around redirectors
 14:  d24d9e215b =  36:  d5e3444958 Always auto-gc after calling a fast-import transport
 15:  00de369279 =  37:  259db27612 mingw: prevent regressions with "drive-less" absolute paths
 16:  5c9e0dd77c =  38:  e2f0e26d28 clean: remove mount points when possible
 17:  c66dc04330 =  39:  d2f7ad1fa6 transport: optionally disable side-band-64k
 49:  b1afbb23be =  40:  6274ed9c93 mingw: fix fatal error working on mapped network drives on Windows
 50:  5513ab1b4c =  41:  bd779ecd85 clink.pl: fix MSVC compile script to handle libcurl-d.lib
 51:  7b85ac8950 =  42:  73c986a101 mingw: implement a platform-specific `strbuf_realpath()`
 52:  b20a974d3a =  43:  c7534cb875 t3701: verify that we can add *lots* of files interactively
 53:  9811afd890 =  44:  c57b81bae2 commit: accept "scissors" with CR/LF line endings
 54:  56ae7e2ac2 =  45:  6e8ed29b18 t0014: fix indentation
 55:  5996e0b8ff =  46:  c375f8a970 git-gui: accommodate for intent-to-add files
 56:  cc03b55552 =  47:  3d8474eaaf mingw: allow for longer paths in `parse_interpreter()`
 57:  fe4049f718 =  48:  64aa3ff803 compat/vcbuild: document preferred way to build in Visual Studio
 58:  351806eb8c =  49:  68e775a40f http: optionally send SSL client certificate
 59:  b09b7cdeed =  50:  326b9a564f ci: run `contrib/subtree` tests in CI builds
 60:  fe69c7e645 =  51:  0aeca8ee53 CMake: show Win32 and Generator_platform build-option values
 61:  c1e2b6c238 =  52:  8e0c085f1e hash-object: add a >4GB/LLP64 test case using filtered input
 24:  e76a27f97b =  53:  8174cf8aa7 windows: skip linking `git-<command>` for built-ins
 27:  bc0f17a612 =  54:  29263fec06 mingw: stop hard-coding `CC = gcc`
 30:  7366a3074c =  55:  36e5c86e52 mingw: drop the -D_USE_32BIT_TIME_T option
 33:  10f4a99108 =  56:  3e07d68f78 mingw: only use -Wl,--large-address-aware for 32-bit builds
 37:  c2a66b5b40 =  57:  f602c197ff mingw: avoid over-specifying `--pic-executable`
 46:  aea1851010 =  58:  4a899c4f15 mingw: set the prefix and HOST_CPU as per MSYS2's settings
 68:  b78df82258 =  59:  fecce99628 mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
 69:  64c5854ba3 =  60:  720012b7a7 mingw: rely on MSYS2's metadata instead of hard-coding it
 70:  82685b3f81 =  61:  5184cda710 mingw: always define `ETC_*` for MSYS2 environments
 71:  a697351227 =  62:  bb962583b0 max_tree_depth: lower it for clang builds in general on Windows
 72:  a94d466f31 =  63:  c2f2af55dd mingw: ensure valid CTYPE
 74:  8a47d5b2ef =  64:  2fd642589f mingw: allow `git.exe` to be used instead of the "Git wrapper"
 76:  d5571f540d =  65:  18b3d5f509 mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system directory
 79:  baa1e4ef84 =  66:  55ef2517c0 clink.pl: fix libexpatd.lib link error when using MSVC
 73:  fdc7b517be =  67:  dc6b52f378 ci: work around a problem with HTTP/2 vs libcurl v8.10.0
 81:  3b844166af =  68:  e01bbb68b1 Makefile: clean up .ilk files when MSVC=1
 75:  7a6da46b1e =  69:  f8b8003c65 revision: create mark_trees_uninteresting_dense()
 83:  8e4fc13b50 =  70:  3c1aadd2b8 vcbuild: add support for compiling Windows resource files
 77:  4c097efd72 =  71:  ed8688a743 survey: stub in new experimental 'git-survey' command
 85:  14d542640c =  72:  87c2e24e0e config.mak.uname: add git.rc to MSVC builds
 48:  70b2b15141 =  73:  e64882180e MinGW: link as terminal server aware
 78:  bfa0fd230d =  74:  41e9ce6d2e survey: add command line opts to select references
 88:  2e231724b5 =  75:  a93bce128d clink.pl: ignore no-stack-protector arg on MSVC=1 builds
 89:  1b8a73a4f8 =  76:  542834ee18 http: optionally load libcurl lazily
 80:  187426a0ce =  77:  0ea1a56bcc survey: start pretty printing data in table form
 92:  d9b945c146 =  78:  8126c773f3 clink.pl: move default linker options for MSVC=1 builds
 93:  d29f2ddd9d =  79:  5b77551584 http: support lazy-loading libcurl also on Windows
 82:  3ba4bfa692 =  80:  b17930fb0f survey: add object count summary
 44:  cf4cea1503 =  81:  d4569a8d71 setup: properly use "%(prefix)/" when in WSL
 45:  7a3e6e9117 =  82:  3dbed723db Add config option `windows.appendAtomically`
 96:  10a59f6fed =  83:  2b299a3da8 cmake: install headless-git.
 97:  a199e946a6 =  84:  8dcd7556f0 http: when loading libcurl lazily, allow for multiple SSL backends
 84:  9980d58bfb =  85:  9d95892413 survey: summarize total sizes by object type
 62:  ac6c83581e =  86:  3d77b4b901 compat/mingw.c: do not warn when failing to get owner
 63:  00d5df62b7 =  87:  8441c7b663 mingw: $env:TERM="xterm-256color" for newer OSes
 64:  666a135908 =  88:  b52ef406b4 winansi: check result and Buffer before using Name
 65:  093f3ba8c7 =  89:  0a723ae9be mingw: change core.fsyncObjectFiles = 1 by default
 66:  6d1732fe28 =  90:  38ed0fd896 Fix Windows version resources
 67:  d7d2904d94 =  91:  c3e2ad80ca status: fix for old-style submodules with commondir
100:  bf0dc6d656 =  92:  b6a289640b git.rc: include winuser.h
101:  57b2c6981a =  93:  350416dfe2 mingw: do load libcurl dynamically by default
102:  7686f73601 =  94:  d25dfd3e5b Add a GitHub workflow to verify that Git/Scalar work in Nano Server
103:  5651fe410e =  95:  ed4daec12b mingw: suggest `windows.appendAtomically` in more cases
104:  b336a42900 =  96:  651f1c57b8 win32: use native ANSI sequence processing, if possible
105:  6ea27f4ed0 =  97:  a20964ddde common-main.c: fflush stdout buffer upon exit
106:  3b472194fa =  98:  3302f10b45 t5601/t7406(mingw): do run tests with symlink support
107:  ae45b41b0a =  99:  f57eb47ba6 win32: ensure that `localtime_r()` is declared even in i686 builds
108:  e111e9187c = 100:  42ab689be0 Fallback to AppData if XDG_CONFIG_HOME is unset
109:  4f67a309f0 = 101:  94a12ce51e run-command: be helpful with Git LFS fails on Windows 7
 86:  e91cef876f = 102:  b35e5d2d49 survey: show progress during object walk
 87:  bbca6031d9 = 103:  60cbdb4c5c mingw: make sure `errno` is set correctly when socket operations fail
 90:  e00f42f3b4 = 104:  c1685048b2 survey: add ability to track prioritized lists
 91:  00cd3e6c30 = 105:  c4c33a10ad compat/mingw: handle WSA errors in strerror
 94:  53abb3db16 = 106:  2461587850 survey: add report of "largest" paths
 95:  8e2c2f30fd = 107:  ee68a478b5 compat/mingw: drop outdated comment
 98:  12a3d5a5a6 = 108:  45aefcb0bd survey: add --top=<N> option and config
 99:  dd3a71e624 = 109:  6813a5ffd0 t0301: actually test credential-cache on Windows
110:  ee0ee42a1d = 110:  1630bc7789 survey: clearly note the experimental nature in the output
111:  d1365f0e44 = 111:  266cde0031 credential-cache: handle ECONNREFUSED gracefully
112:  27858efe75 = 112:  ab56e5f267 reftable: do make sure to use custom allocators
113:  1842ed65ae = 113:  52cc859051 check-whitespace: avoid alerts about upstream commits
114:  2138ddc074 = 114:  2073335228 t/t5571-prep-push-hook.sh: Add test with writing to stderr
115:  bcdf37dd21 = 115:  01a8f14496 git-svn: mark it as unsupported by the Git for Windows project
116:  b53f1cff5e = 116:  9917e3f26a ci(macos): skip the `git p4` tests
119:  b2fd795f99 = 117:  7bfc23aa5f Win32: make FILETIME conversion functions public
120:  fc90d06ff2 = 118:  e1cff98998 Win32: dirent.c: Move opendir down
121:  c86fd97932 = 119:  c368cbcc0b mingw: make the dirent implementation pluggable
122:  75df470cad = 120:  ad9235eec2 Win32: make the lstat implementation pluggable
123:  bb33c048c8 = 121:  4a69b9177e mingw: add infrastructure for read-only file system level caches
124:  83f842a1c4 = 122:  c3a1fb8666 mingw: add a cache below mingw's lstat and dirent implementations
125:  be7b2dfd7c = 123:  3579f972d3 fscache: load directories only once
126:  1ac95a9177 = 124:  db5cf8eb13 fscache: add key for GIT_TRACE_FSCACHE
127:  68b849f179 = 125:  62e3172267 fscache: remember not-found directories
128:  5a1edaa60a = 126:  c447364d41 fscache: add a test for the dir-not-found optimization
129:  86e903411f = 127:  248dc95154 add: use preload-index and fscache for performance
130:  6bf70331f4 = 128:  f0f2fb2ded dir.c: make add_excludes aware of fscache during status
131:  4b531c39dc = 129:  3382b7fa5d fscache: make fscache_enabled() public
132:  8543067ff6 = 130:  e14cb5f847 dir.c: regression fix for add_excludes with fscache
133:  25b4dd081e = 131:  c987f35265 fetch-pack.c: enable fscache for stats under .git/objects
134:  4e02398bab = 132:  83289ac603 checkout.c: enable fscache for checkout again
135:  67a13926cf = 133:  ec87c84de7 Enable the filesystem cache (fscache) in refresh_index().
136:  c4f04e5dc8 = 134:  b72e7cd9a2 fscache: use FindFirstFileExW to avoid retrieving the short name
137:  0df959e574 = 135:  3c80de2b25 fscache: add GIT_TEST_FSCACHE support
138:  f58fbd59f2 = 136:  bea20e1310 fscache: add fscache hit statistics
139:  3b32042a08 = 137:  d79777f781 unpack-trees: enable fscache for sparse-checkout
140:  a9e6116423 = 138:  76f99501ee status: disable and free fscache at the end of the status command
141:  64c2bc0128 = 139:  d15e8b6aff mem_pool: add GIT_TRACE_MEMPOOL support
142:  421e181179 = 140:  37e4eedc26 fscache: fscache takes an initial size
143:  7ed815c23c = 141:  44f5498566 fscache: update fscache to be thread specific instead of global
144:  04b5f4cc66 = 142:  451376996d fscache: teach fscache to use mempool
145:  946d797d0b = 143:  839c043af0 fscache: make fscache_enable() thread safe
146:  482f139738 = 144:  044954ddb0 fscache: teach fscache to use NtQueryDirectoryFile
147:  895b8401e8 = 145:  227f6eae19 fscache: remember the reparse tag for each entry
148:  42ca1feff1 = 146:  c8b25e0282 fscache: implement an FSCache-aware is_mount_point()
149:  01b4ae7ff0 = 147:  7ed11382c2 clean: make use of FSCache
150:  8d20e60625 = 148:  53f690ccd1 pack-objects (mingw): demonstrate a segmentation fault with large deltas
151:  1c6bb0fbb5 = 149:  de7c021f2d mingw: support long paths
152:  765a45aabf = 150:  badf2a7172 win32(long path support): leave drive-less absolute paths intact
153:  df68bdbc2b = 151:  94d520d0a9 compat/fsmonitor/fsm-*-win32: support long paths
154:  af79aeceec = 152:  c3e9e8420c clean: suggest using `core.longPaths` if paths are too long to remove
155:  5fdcd1d1a4 = 153:  610c7ad8ec mingw: Support `git_terminal_prompt` with more terminals
156:  779c8da166 = 154:  c3847f8eb4 compat/terminal.c: only use the Windows console if bash 'read -r' fails
157:  297b24b87c = 155:  505d51391e mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
161:  339f011418 = 156:  8a71b7655b mingw: introduce code to detect whether we're inside a Windows container
163:  e38d25f292 = 157:  2ba091d06b mingw: when running in a Windows container, try to rename() harder
117:  e2f0c011b1 = 158:  685c88991b git-gui--askyesno: fix funny text wrapping
165:  2176c699ec = 159:  2099600b71 mingw: move the file_attr_to_st_mode() function definition
118:  609cf49edc = 160:  b66c725ba8 git-gui--askyesno (mingw): use Git for Windows' icon, if available
167:  1843151c5d = 161:  d2827b38fa mingw: Windows Docker volumes are *not* symbolic links
158:  4a7e2f0a20 = 162:  17109e37be Win32: symlink: move phantom symlink creation to a separate function
159:  a95b50e3b1 = 163:  a715125961 Introduce helper to create symlinks that knows about index_state
160:  70c3d1bf4e = 164:  83e4ec894f mingw: allow to specify the symlink type in .gitattributes
162:  d36bae4cca = 165:  fb15cb556a Win32: symlink: add test for `symlink` attribute
164:  87500cae1d = 166:  f74f31678e mingw: explicitly specify with which cmd to prefix the cmdline
166:  33ab1eb1df = 167:  87208d4045 mingw: when path_lookup() failed, try BusyBox
168:  13f9f73d7d = 168:  8da5fd6d63 test-tool: learn to act as a drop-in replacement for `iconv`
170:  c6949c8ee1 = 169:  c949515172 tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
171:  5f2aa93f68 = 170:  cb41ef7659 gitattributes: mark .png files as binary
172:  2e766e17d5 = 171:  80d09425c3 tests: move test PNGs into t/lib-diff/
173:  de4c58eb0a = 172:  f15ccd9272 tests: only override sort & find if there are usable ones in /usr/bin/
174:  46cda0a02a ! 173:  a1bf2d3d07 tests: use the correct path separator with BusyBox
    @@ t/test-lib.sh
     +
      # Test the binaries we have just built.  The tests are kept in
      # t/ subdirectory and are run in 'trash directory' subdirectory.
    - if test -z "$TEST_DIRECTORY"
    + 
     @@ t/test-lib.sh: then
      		done
      	done
175:  3b03bb43af = 174:  3c2440b2e5 mingw: only use Bash-ism `builtin pwd -W` when available
176:  4e947b389a = 175:  7259fba60d tests (mingw): remove Bash-specific pwd option
177:  81a7089288 = 176:  dc9551194f test-lib: add BUSYBOX prerequisite
178:  39f3e8c1a1 = 177:  baa88878fa t5003: use binary file from t/lib-diff/
180:  b734ad5203 = 178:  f2d9c638cf t5532: workaround for BusyBox on Windows
182:  987b66f0b8 = 179:  24c4f5ebe1 t5605: special-case hardlink test for BusyBox-w32
184:  ad348e70c1 = 180:  99d8f72b8c t5813: allow for $PWD to be a Windows path
169:  c30e6a3600 = 181:  21da2e4dcc mingw: work around rename() failing on a read-only file
179:  8e48036a23 = 182:  4e67dbbdf4 Describe Git for Windows' architecture [no ci]
181:  ba4f48a1eb = 183:  1af7525629 Modify the Code of Conduct for Git for Windows
186:  272dc5fced ! 184:  aa6552d8ac t9200: skip tests when $PWD contains a colon
    @@ t/t9200-git-cvsexportcommit.sh: if ! test_have_prereq PERL; then
     +	;;
     +esac
     +
    - cvs >/dev/null 2>&1
    - if test $? -ne 1
    + status=0; cvs >/dev/null 2>&1 || status=$?
    + if test $status -ne 1
      then
188:  1ba259b1f5 = 185:  da6076db69 mingw: kill child processes in a gentler way
183:  9d1741ee46 = 186:  a7447ea8dc CONTRIBUTING.md: add guide for first-time contributors
190:  61cef710dc = 187:  c3e351c8d9 Add a GitHub workflow to monitor component updates
189:  c488b48abe = 188:  2c16e3bdc0 mingw: optionally enable wsl compability file mode bits
192:  12dd96650a = 189:  3f4a01b8d7 mingw: really handle SIGINT
193:  2f4574ac50 = 190:  d6a0b9bd40 Partially un-revert "editor: save and reset terminal after calling EDITOR"
185:  f3daaf6f4a = 191:  b517090a13 README.md: Add a Windows-specific preamble
194:  8e5289f85e = 192:  e85c7d67f7 reset: reinstate support for the deprecated --stdin option
195:  08b1f9a212 = 193:  46d27f6c3d fsmonitor: reintroduce core.useBuiltinFSMonitor
196:  e9d94c6a9e = 194:  74c34e9659 dependabot: help keeping GitHub Actions versions up to date
187:  6b1f024165 = 195:  4e749fa19e Add an issue template
191:  eafccca62c = 196:  7ee407af05 Modify the GitHub Pull Request template (to reflect Git for Windows)
197:  6fb8ead178 = 197:  58bc7d206c SECURITY.md: document Git for Windows' policies
198:  b509daf6ed = 198:  b9fc28424d http: fix bug in ntlm_allow=1 handling
199:  3559644311 = 199:  86dcc2f1b3 fixup! git-svn: mark it as unsupported by the Git for Windows project

dscho and others added 30 commits March 26, 2026 02:00
On Windows, there are several categories of absolute paths. One such
category starts with a backslash and is implicitly relative to the drive
associated with the current working directory. Example:

	c:
	git clone https://github.com/git-for-windows/git \G4W

should clone into C:\G4W.

Back in 2017, Juan Carlos Arevalo Baeza reported a bug in Git's handling
of those absolute paths was identified, and fixed. Let's make sure that
it stays fixed.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Windows' equivalent to "bind mounts", NTFS junction points, can be
unlinked without affecting the mount target. This is clearly what users
expect to happen when they call `git clean -dfx` in a worktree that
contains NTFS junction points: the junction should be removed, and the
target directory of said junction should be left alone (unless it is
inside the worktree).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
While Git for Windows does not _ship_ Python (in order to save on
bandwidth), MSYS2 provides very fine Python interpreters that users can
easily take advantage of, by using Git for Windows within its SDK.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Thorough benchmarking with repacking a subset of linux.git (the commit
history reachable from 93a6fef ([PATCH] fix the SYSCTL=n compilation,
2007-02-28), to be precise) suggest that this allocator is on par, in
multi-threaded situations maybe even better than nedmalloc:

`git repack -adfq` with mimalloc, 8 threads:

31.166991900 27.576763800 28.712311000 27.373859000 27.163141900

`git repack -adfq` with nedmalloc, 8 threads:

31.915032900 27.149883100 28.244933700 27.240188800 28.580849500

In a different test using GitHub Actions build agents (probably
single-threaded, a core-strength of nedmalloc)):

`git repack -q -d -l -A --unpack-unreachable=2.weeks.ago` with mimalloc:

943.426 978.500 939.709 959.811 954.605

`git repack -q -d -l -A --unpack-unreachable=2.weeks.ago` with nedmalloc:

995.383 952.179 943.253 963.043 980.468

While these measurements were not executed with complete scientific
rigor, as no hardware was set aside specifically for these benchmarks,
it shows that mimalloc and nedmalloc perform almost the same, nedmalloc
with a bit higher variance and also slightly higher average (further
testing suggests that nedmalloc performs worse in multi-threaded
situations than in single-threaded ones).

In short: mimalloc seems to be slightly better suited for our purposes
than nedmalloc.

Seeing that mimalloc is developed actively, while nedmalloc ceased to
see any updates in eight years, let's use mimalloc on Windows instead.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Since commit 0c499ea (send-pack: demultiplex a sideband stream with
status data, 2010-02-05) the send-pack builtin uses the side-band-64k
capability if advertised by the server.

Unfortunately this breaks pushing over the dump git protocol if used
over a network connection.

The detailed reasons for this breakage are (by courtesy of Jeff Preshing,
quoted from https://groups.google.com/d/msg/msysgit/at8D7J-h7mw/eaLujILGUWoJ):

	MinGW wraps Windows sockets in CRT file descriptors in order to
	mimic the functionality of POSIX sockets. This causes msvcrt.dll
	to treat sockets as Installable File System (IFS) handles,
	calling ReadFile, WriteFile, DuplicateHandle and CloseHandle on
	them. This approach works well in simple cases on recent
	versions of Windows, but does not support all usage patterns. In
	particular, using this approach, any attempt to read & write
	concurrently on the same socket (from one or more processes)
	will deadlock in a scenario where the read waits for a response
	from the server which is only invoked after the write. This is
	what send_pack currently attempts to do in the use_sideband
	codepath.

The new config option `sendpack.sideband` allows to override the
side-band-64k capability of the server, and thus makes the dumb git
protocol work.

Other transportation methods like ssh and http/https still benefit from
the sideband channel, therefore the default value of `sendpack.sideband`
is still true.

Signed-off-by: Thomas Braun <thomas.braun@byte-physics.de>
Signed-off-by: Oliver Schneider <oliver@assarbad.net>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
In 1e64d18 (mingw: do resolve symlinks in `getcwd()`) a problem was
introduced that causes git for Windows to stop working with certain
mapped network drives (in particular, drives that are mapped to
locations with long path names). Error message was "fatal: Unable to
read current working directory: No such file or directory". Present
change fixes this issue as discussed in
git-for-windows#2480

Signed-off-by: Bjoern Mueller <bjoernm@gmx.de>
Update clink.pl to link with either libcurl.lib or libcurl-d.lib
depending on whether DEBUG=1 is set.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
There is a Win32 API function to resolve symbolic links, and we can use
that instead of resolving them manually. Even better, this function also
resolves NTFS junction points (which are somewhat similar to bind
mounts).

This fixes git-for-windows#2481.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The native Windows HTTPS backend is based on Secure Channel which lets
the caller decide how to handle revocation checking problems caused by
missing information in the certificate or offline CRL distribution
points.

Unfortunately, cURL chose to handle these problems differently than
OpenSSL by default: while OpenSSL happily ignores those problems
(essentially saying "¯\_(ツ)_/¯"), the Secure Channel backend will error
out instead.

As a remedy, the "no revoke" mode was introduced, which turns off
revocation checking altogether. This is a bit heavy-handed. We support
this via the `http.schannelCheckRevoke` setting.

In curl/curl#4981, we contributed an opt-in
"best effort" strategy that emulates what OpenSSL seems to do.

In Git for Windows, we actually want this to be the default. This patch
makes it so, introducing it as a new value for the
`http.schannelCheckRevoke" setting, which now becmes a tristate: it
accepts the values "false", "true" or "best-effort" (defaulting to the
last one).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The convention in Git project's shell scripts is to have white-space
_before_, but not _after_ the `>` (or `<`).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This change enhances `git commit --cleanup=scissors` by detecting
scissors lines ending in either LF (UNIX-style) or CR/LF (DOS-style).

Regression tests are included to specifically test for trailing
comments after a CR/LF-terminated scissors line.

Signed-off-by: Luke Bonanomi <lbonanomi@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
For some reason, this test case was indented with 4 spaces instead of 1
horizontal tab. The other test cases in the same test script are fine.

Signed-off-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
As of Git v2.28.0, the diff for files staged via `git add -N` marks them
as new files. Git GUI was ill-prepared for that, and this patch teaches
Git GUI about them.

Please note that this will not even fix things with v2.28.0, as the
`rp/apply-cached-with-i-t-a` patches are required on Git's side, too.

This fixes git-for-windows#2779

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
The vcpkg downloads may not succeed. Warn careful readers of the time out.

A simple retry will usually resolve the issue.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
Git's regular Makefile mentions that HOST_CPU should be defined when cross-compiling Git: https://github.com/git-for-windows/git/blob/37796bca76ef4180c39ee508ca3e42c0777ba444/Makefile#L438-L439

This is then used to set the GIT_HOST_CPU variable when compiling Git: https://github.com/git-for-windows/git/blob/37796bca76ef4180c39ee508ca3e42c0777ba444/Makefile#L1337-L1341

Then, when the user runs `git version --build-options`, it returns that value: https://github.com/git-for-windows/git/blob/37796bca76ef4180c39ee508ca3e42c0777ba444/help.c#L658

This commit adds the same functionality to the CMake configuration. Users can now set -DHOST_CPU= to set the target architecture.

Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
As reported in newren/git-filter-repo#225, it
looks like 99 bytes is not really sufficient to represent e.g. the full
path to Python when installed via Windows Store (and this path is used
in the hasb bang line when installing scripts via `pip`).

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

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

Let's let the `README` reflect this.

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

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

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

This fixes git-for-windows#3292

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

Signed-off-by: Victoria Dye <vdye@github.com>
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 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>
This is no longer true in general, not with supporting Clang out of the
box.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This option was added in fa93bb2 (MinGW: Fix stat definitions to
work with MinGW runtime version 4.0, 2013-09-11), i.e. a _long_ time
ago. So long, in fact, that it still targeted MinGW. But we switched to
mingw-w64 in 2015, which seems not to share the problem, and therefore
does not require a fix.

Even worse: This flag is incompatible with UCRT64, which we are about to
support by way of upstreaming `mingw-w64-git` to the MSYS2 project, see
msys2/MINGW-packages#26470 for details.

So let's send that option into its well-deserved retirement.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge this early to resolve merge conflicts early.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
That option only matters there, and is in fact only really understood in
those builds; UCRT64 versions of GCC, for example, do not know what to
do with that option.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
When building with `make MSVC=1 DEBUG=1`, link to `libexpatd.lib`
rather than `libexpat.lib`.

It appears that the `vcpkg` package for "libexpat" has changed and now
creates `libexpatd.lib` for debug mode builds.  Previously, both debug
and release builds created a ".lib" with the same basename.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
In bf2d5d8 (Don't let ld strip relocations, 2016-01-16) (picked from
git-for-windows@6a237925bf10),
Git for Windows introduced the `-Wl,-pic-executable` flag, specifying
the exact entry point via `-e`. This required discerning between i686
and x86_64 code because the former required the symbol to be prefixed
with an underscore, the latter did not.

As per https://sourceware.org/bugzilla/show_bug.cgi?id=10865, the
specified symbols are already the default, though.

So let's drop the overly-specific definition.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
swigger and others added 30 commits March 26, 2026 02:03
The Windows Subsystem for Linux (WSL) version 2 allows to use `chmod` on
NTFS volumes provided that they are mounted with metadata enabled (see
https://devblogs.microsoft.com/commandline/chmod-chown-wsl-improvements/
for details), for example:

	$ chmod 0755 /mnt/d/test/a.sh

In order to facilitate better collaboration between the Windows
version of Git and the WSL version of Git, we can make the Windows
version of Git also support reading and writing NTFS file modes
in a manner compatible with WSL.

Since this slightly slows down operations where lots of files are
created (such as an initial checkout), this feature is only enabled when
`core.WSLCompat` is set to true. Note that you also have to set
`core.fileMode=true` in repositories that have been initialized without
enabling WSL compatibility.

There are several ways to enable metadata loading for NTFS volumes
in WSL, one of which is to modify `/etc/wsl.conf` by adding:

```
[automount]
enabled = true
options = "metadata,umask=027,fmask=117"
```

And reboot WSL.

It can also be enabled temporarily by this incantation:

	$ sudo umount /mnt/c &&
	  sudo mount -t drvfs C: /mnt/c -o metadata,uid=1000,gid=1000,umask=22,fmask=111

It's important to note that this modification is compatible with, but
does not depend on WSL. The helper functions in this commit can operate
independently and functions normally on devices where WSL is not
installed or properly configured.

Signed-off-by: xungeng li <xungeng@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Previously, we did not install any handler for Ctrl+C, but now we really
want to because the MSYS2 runtime learned the trick to call the
ConsoleCtrlHandler when Ctrl+C was pressed.

With this, hitting Ctrl+C while `git log` is running will only terminate
the Git process, but not the pager. This finally matches the behavior on
Linux and on macOS.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
…ITOR"

In e3f7e01 (Revert "editor: save and reset terminal after calling
EDITOR", 2021-11-22), we reverted the commit wholesale where the
terminal state would be saved and restored before/after calling an
editor.

The reverted commit was intended to fix a problem with Windows Terminal
where simply calling `vi` would cause problems afterwards.

To fix the problem addressed by the revert, but _still_ keep the problem
with Windows Terminal fixed, let's revert the revert, with a twist: we
restrict the save/restore _specifically_ to the case where `vi` (or
`vim`) is called, and do not do the same for any other editor.

This should still catch the majority of the cases, and will bridge the
time until the original patch is re-done in a way that addresses all
concerns.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Includes touch-ups by 마누엘, Philip Oakley and 孙卓识.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The `--stdin` option was a well-established paradigm in other commands,
therefore we implemented it in `git reset` for use by Visual Studio.

Unfortunately, upstream Git decided that it is time to introduce
`--pathspec-from-file` instead.

To keep backwards-compatibility for some grace period, we therefore
reinstate the `--stdin` option on top of the `--pathspec-from-file`
option, but mark it firmly as deprecated.

Helped-by: Victoria Dye <vdye@github.com>
Helped-by: Matthew John Cheetham <mjcheetham@outlook.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reintroduce the 'core.useBuiltinFSMonitor' config setting (originally added
in 0a756b2 (fsmonitor: config settings are repository-specific,
2021-03-05)) after its removal from the upstream version of FSMonitor.

Upstream, the 'core.useBuiltinFSMonitor' setting was rendered obsolete by
"overloading" the 'core.fsmonitor' setting to take a boolean value. However,
several applications (e.g., 'scalar') utilize the original config setting,
so it should be preserved for a deprecation period before complete removal:

* if 'core.fsmonitor' is a boolean, the user is correctly using the new
  config syntax; do not use 'core.useBuiltinFSMonitor'.
* if 'core.fsmonitor' is unspecified, use 'core.useBuiltinFSMonitor'.
* if 'core.fsmonitor' is a path, override and use the builtin FSMonitor if
  'core.useBuiltinFSMonitor' is 'true'; otherwise, use the FSMonitor hook
  indicated by the path.

Additionally, for this deprecation period, advise users to switch to using
'core.fsmonitor' to specify their use of the builtin FSMonitor.

Signed-off-by: Victoria Dye <vdye@github.com>
These are Git for Windows' Git GUI and gitk patches. We will have to
decide at some point what to do about them, but that's a little lower
priority (as Git GUI seems to be unmaintained for the time being, and
the gitk maintainer keeps a very low profile on the Git mailing list,
too).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This 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>
With improvements by Clive Chan, Adric Norris, Ben Bodenmiller and
Philip Oakley.

Helped-by: Clive Chan <cc@clive.io>
Helped-by: Adric Norris <landstander668@gmail.com>
Helped-by: Ben Bodenmiller <bbodenmiller@hotmail.com>
Helped-by: Philip Oakley <philipoakley@iee.org>
Signed-off-by: Brendan Forster <brendan@github.com>
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>
Git for Windows accepts pull requests; Core Git does not. Therefore we
need to adjust the template (because it only matches core Git's
project management style, not ours).

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

Signed-off-by: Philip Oakley <philipoakley@iee.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
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>
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>
…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>
In 816db62 (credential: advertise NTLM suppression and allow
helpers to re-enable, 2026-02-09), Git learned to advertise that NTLM
authentication was suppressed to credential helpers. It also introduced
a way to allow credential helpers to opt-back-in to NTLM authentication
via the `ntlm_allow=1` credential protocol flag.

There is a bug in the logic of 816db62 that means we are responding
to the `ntlm_allow=1` signal too late in the auth retry codepath; we've
already made the second-attempt request!

Move adding of NTLM as a valid auth method to `http_request_reauth`
right after the credential helper is consulted following the first
request, but (now) before we made the second request.

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
This topic branch addresses the following vulnerability:

- **CVE-2025-66413**:
  When a user clones a repository from an attacker-controlled server,
  Git may attempt NTLM authentication and disclose the user's NTLMv2 hash
  to the remote server. Since NTLM hashing is weak, the captured hash can
  potentially be brute-forced to recover the user's credentials. This is
  addressed by disabling NTLM authentication by default.
  (GHSA-hv9c-4jm9-jh3x)

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
As of git-for-windows/MINGW-packages#187, Git
for Windows no longer includes `git svn` in its installers and portable
Git editions.

As a consequence, the deprecation note is no longer necessary.

Even worse: Since the recommendation for users who want (or at least
need) to continue using `git svn` is to use the MSYS2 package instead,
and that MSYS2 package is built from Git for Windows' source code, they
would now be bothered by a note that they do not need.

So let's drop that deprecation note.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
In 816db62 (credential: advertise NTLM suppression and allow helpers
to re-enable, 2026-02-09), Git learned to advertise that NTLM
authentication was suppressed to credential helpers. It also introduced
a way to allow credential helpers to opt-back-in to NTLM authentication
via the `ntlm_allow=1` credential protocol flag.

There is a bug in the logic of 816db62 that means we are responding
to the `ntlm_allow=1` signal too late in the auth retry codepath; we've
already made the second-attempt request!

Move adding of NTLM as a valid auth method to `http_request_reauth`
right after the credential helper is consulted following the first
request, but (now) before we made the second request.
… Git for Windows, anyway) (git-for-windows#6142)

As of git-for-windows/MINGW-packages#187, Git
for Windows no longer includes `git svn` in its installers and portable
Git editions.

As a consequence, the deprecation note is no longer necessary.

Even worse: Since the recommendation for users who want (or at least
need) to continue using `git svn` is to use the MSYS2 package instead,
and that MSYS2 package is built from Git for Windows' source code, they
would now be bothered by a note that they do not need.

So let's drop that deprecation note.
Currently, Git for Windows is built off of the MINGW64 tool chain. But
this will have to change because [the MSYS2 project deprecated this tool
chain in favor of
UCRT64](https://www.msys2.org/news/#2026-03-15-deprecating-the-mingw64-environment).
Of course, that's only possible because they dropped support for Windows
8.1, which Git for Windows will probably have to do relatively soon. The
best time to do that is probably [the Git 3.0 inflection
point](git-for-windows#6018) when we
already promised to drop support for older Windows versions.

To prepare for such a huge change, I investigated what needs to be
changed in Git for Windows' source code. And the good news is there's
actually not very much. This here patch seems to be the only change
that's necessary, and not even _strictly_ necessary: the
`mingw_strftime()` wrapper would still do the right thing. It would just
uselessly load the same function that's already loaded, dynamically,
again.

- The `strerror()` override [is guarded by an `#ifndef
_UCRT`](https://github.com/git-for-windows/git/blob/v2.53.0.windows.2/compat/mingw-posix.h#L294-L296),
- `PRIuMAX` resolves to standard `"llu"` [via
`<inttypes.h>`](https://github.com/git-for-windows/git/blob/v2.53.0.windows.2/compat/mingw-posix.h#L449-L454)
(note that `__MINGW64_VERSION_MAJOR` is defined both in MINGW64 and
UCRT64, by virtue of using the `mingw-w64-headers`),
-
[`__USE_MINGW_ANSI_STDIO=0`](https://github.com/git-for-windows/git/blob/v2.53.0.windows.2/config.mak.uname#L751C19-L751C33)
is irrelevant because [`_UCRT` short-circuits
it](https://github.com/git-for-windows/git-sdk-64/blob/08933e673c79b5db48419917a2b02746b390afc4/mingw64/include/inttypes.h#L33),
and
- `SNPRINTF_RETURNS_BOGUS` hasn't been set for Git for Windows' builds
since ec47a33, i.e. for a _really_ long
time.
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.