Skip to content

Rebase shears/main (#22611637767)#18

Open
gitforwindowshelper[bot] wants to merge 278 commits intobase/shears/main-22611637767from
shears/main-22611637767
Open

Rebase shears/main (#22611637767)#18
gitforwindowshelper[bot] wants to merge 278 commits intobase/shears/main-22611637767from
shears/main-22611637767

Conversation

@gitforwindowshelper
Copy link

Workflow run

Rebase Summary: main

From: 53df3c0dfe (Merge 'readme' into HEAD, 2018-06-07) (3aae690f8b..53df3c0dfe)
To: 877157b4fa (Merge 'readme' into HEAD, 2018-06-07) (69d0e9406b..877157b4fa)

Statistics

Metric Count
Total conflicts 0
Skipped (upstreamed) 0
Resolved surgically 0
Range-diff (click to expand)
  1:  38930ae536 =   1:  3224eea4af sideband: mask control characters
  2:  e756645875 =   2:  ae2df304a3 sideband: introduce an "escape hatch" to allow control characters
  3:  83d3cbd762 =   3:  9326496b69 sideband: do allow ANSI color sequences by default
  4:  bd94588f23 =   4:  912fc7e88c unix-socket: avoid leak when initialization fails
  5:  cd39d86fb4 =   5:  2c40d1584b grep: prevent `^$` false match at end of file
  6:  9c91ae8467 =   6:  dc5b2a6cad t9350: point out that refs are not updated correctly
  7:  f731b6958b =   7:  8909d355b9 transport-helper: add trailing --
 11:  384271ed95 =   8:  e71f83049c vcpkg_install: detect lack of Git
 12:  09b5855323 =   9:  8b4ebe6ee0 vcpkg_install: add comment regarding slow network connections
 13:  f3f21b8da1 =  10:  a8f365c0c9 vcbuild: install ARM64 dependencies when building ARM64 binaries
 14:  f7ad7296fc =  11:  2c070b6b68 vcbuild: add an option to install individual 'features'
 15:  bc01b4e2ee =  12:  eee38bd54b cmake: allow building for Windows/ARM64
 16:  064f6b4553 =  13:  fb28eb3cf2 mingw: include the Python parts in the build
 17:  a389ff140a =  14:  37efc248ca ci(vs-build) also build Windows/ARM64 artifacts
 18:  30b52853ed =  15:  96dba485c9 win32/pthread: avoid name clashes with winpthread
 19:  44a4a5f13e =  16:  5ac6a104d2 Add schannel to curl installation
 20:  0623369d0b =  17:  2cad2166df hash-object: demonstrate a >4GB/LLP64 problem
 21:  ac3abb2548 =  18:  b6ccc4ee24 git-compat-util: avoid redeclaring _DEFAULT_SOURCE
 22:  d884413f20 =  19:  6ef76ebd91 cmake(): allow setting HOST_CPU for cross-compilation
 23:  e4ad79f94c =  20:  cc9965d581 object-file.c: use size_t for header lengths
 24:  a22c2e61f6 =  21:  042202bbc2 Import the source code of mimalloc v2.2.7
 25:  49c4250bcb =  22:  9c06af5c69 CMake: default Visual Studio generator has changed
 26:  46dbd94de1 =  23:  62c8de29cb hash algorithms: use size_t for section lengths
 27:  84fa9fe6d5 =  24:  ad38946b9e mimalloc: adjust for building inside Git
 28:  ca05c1e172 =  25:  2dba06e4a8 mingw: demonstrate a `git add` issue with NTFS junctions
 29:  daead03339 =  26:  e0bbef23c0 .gitignore: add Visual Studio CMakeSetting.json file
 30:  82c821df0b =  27:  eec003458d hash-object --stdin: verify that it works with >4GB/LLP64
 31:  fc405d2972 =  28:  f73d1b527e mimalloc: offer a build-time option to enable it
 32:  9a8604fc43 =  29:  207f547ab2 t5505/t5516: allow running without `.git/branches/` in the templates
  8:  155567900f =  30:  ccbea8fe4f remote-helper: check helper status after import/export
 33:  b9681c7afa =  31:  82b7e33460 clean: do not traverse mount points
 34:  c3a9d9a802 =  32:  71f69ff962 strbuf_realpath(): use platform-dependent API if available
 35:  d66bde4028 =  33:  73ed482693 http: use new "best effort" strategy for Secure Channel revoke checking
 36:  92440b1f0f =  34:  492cf2c7c3 subtree: update `contrib/subtree` `test` target
 37:  58fe0c2dba =  35:  8d9362a0de CMakeLists: add default "x64-windows" arch for Visual Studio
 38:  3a5561c40d =  36:  8f9a391e2a hash-object: add another >4GB/LLP64 test case
 39:  007d8b8691 =  37:  bc99c8bc90 setup: properly use "%(prefix)/" when in WSL
 40:  2f0f4ae4de =  38:  34da558678 mingw: use mimalloc
 41:  7757d60a68 =  39:  1b2239f8dd t5505/t5516: fix white-space around redirectors
  9:  9b3f7782ff =  40:  ab8fd43068 Always auto-gc after calling a fast-import transport
 10:  563b4c3887 =  41:  5f8fb4a831 mingw: prevent regressions with "drive-less" absolute paths
 43:  af935f065a =  42:  dfa3971966 clean: remove mount points when possible
 44:  41d3b1b4c3 =  43:  c8d99d084d transport: optionally disable side-band-64k
 45:  063b67149f =  44:  2a11d75e20 mingw: fix fatal error working on mapped network drives on Windows
 46:  1f64af226c =  45:  0347e5b4a9 clink.pl: fix MSVC compile script to handle libcurl-d.lib
 47:  cd02b890f0 =  46:  0995182a85 mingw: implement a platform-specific `strbuf_realpath()`
 48:  2f321d3a45 =  47:  fdd4285856 t3701: verify that we can add *lots* of files interactively
 49:  dff58c2468 =  48:  22da7e7511 commit: accept "scissors" with CR/LF line endings
 50:  b379fbe99b =  49:  73798ec7e8 t0014: fix indentation
 51:  bf4855b348 =  50:  33ecfe4cd0 git-gui: accommodate for intent-to-add files
 52:  f325c9ec53 =  51:  96158c9a3a mingw: allow for longer paths in `parse_interpreter()`
 53:  3fc5dca195 =  52:  e6b7be48c3 compat/vcbuild: document preferred way to build in Visual Studio
 54:  a386b09e0c =  53:  609c8503c4 http: optionally send SSL client certificate
 55:  991b3ec3e9 =  54:  0a859baff2 ci: run `contrib/subtree` tests in CI builds
 56:  4fe56354ee =  55:  b4cc8eb2d4 CMake: show Win32 and Generator_platform build-option values
 57:  61e4253f76 =  56:  99b3cbcfbc hash-object: add a >4GB/LLP64 test case using filtered input
 58:  7c10fc28de =  57:  54a57cccb7 compat/mingw.c: do not warn when failing to get owner
 61:  96f32ada2e =  58:  51cf221bda windows: skip linking `git-<command>` for built-ins
 62:  a54840c100 =  59:  24edff65ff mingw: stop hard-coding `CC = gcc`
 63:  4eede6fb47 =  60:  52427807ae mingw: drop the -D_USE_32BIT_TIME_T option
 64:  2e9b08ec6c =  61:  1acef3ffb9 mingw: only use -Wl,--large-address-aware for 32-bit builds
 65:  ab02a17f47 =  62:  958a2f18f8 mingw: avoid over-specifying `--pic-executable`
 66:  455104084d =  63:  3f25bed35a mingw: set the prefix and HOST_CPU as per MSYS2's settings
 67:  52b7572869 =  64:  742ef55591 mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
 68:  3adc5ac7fc =  65:  2aece36ad3 mingw: rely on MSYS2's metadata instead of hard-coding it
 69:  37c6d5c0d9 =  66:  9b96c843bc mingw: always define `ETC_*` for MSYS2 environments
 70:  c4135643cf =  67:  2f722b7b7f max_tree_depth: lower it for clang builds in general on Windows
 71:  cc938a43e1 =  68:  5ff28cf3a3 mingw: ensure valid CTYPE
 72:  9d86fe7aa4 =  69:  be695ec8d5 ci: work around a problem with HTTP/2 vs libcurl v8.10.0
 73:  1182e2b230 =  70:  4293c63c8e mingw: allow `git.exe` to be used instead of the "Git wrapper"
 74:  0105a36eed =  71:  4c8fb0edd1 revision: create mark_trees_uninteresting_dense()
 75:  3feaab853a =  72:  5f8f8dd397 mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system directory
 76:  28330f4d53 =  73:  ed81c463d9 survey: stub in new experimental 'git-survey' command
 77:  4a3dba8fa2 =  74:  b4eb590e13 survey: add command line opts to select references
 78:  8ff99b1685 =  75:  7579f454f2 clink.pl: fix libexpatd.lib link error when using MSVC
 79:  e759e1bc99 =  76:  e2a6c36966 survey: start pretty printing data in table form
 80:  c1e7c31d75 =  77:  a61fa206b6 Makefile: clean up .ilk files when MSVC=1
 81:  c413af9d7e =  78:  4e4218af2e survey: add object count summary
 82:  7069266850 =  79:  a50f8188e6 vcbuild: add support for compiling Windows resource files
 83:  1b16622a21 =  80:  2c167b98a7 survey: summarize total sizes by object type
 84:  6a6ab6359b =  81:  c9744c0ad5 config.mak.uname: add git.rc to MSVC builds
 85:  ba32cf8a6a =  82:  f45ad04af9 MinGW: link as terminal server aware
 86:  68889dd3bf =  83:  09189645ef survey: show progress during object walk
 87:  ef53df56f0 =  84:  ae68f653ec clink.pl: ignore no-stack-protector arg on MSVC=1 builds
 88:  3bbc84702f =  85:  62e13b5fbf http: optionally load libcurl lazily
 89:  76fb93fdea =  86:  6741ba167d survey: add ability to track prioritized lists
 90:  5f5a5bba3a =  87:  2e2605a0e3 clink.pl: move default linker options for MSVC=1 builds
 91:  a93406dfa9 =  88:  34bbf7b904 http: support lazy-loading libcurl also on Windows
 92:  288d965497 =  89:  d932561e1f survey: add report of "largest" paths
 42:  6dd49d2fa6 =  90:  95dcb7f018 Add config option `windows.appendAtomically`
 93:  243b0d3de9 =  91:  4c916e816f cmake: install headless-git.
 94:  4c4691bb64 =  92:  36dfc8b9b9 http: when loading libcurl lazily, allow for multiple SSL backends
 95:  b53ead52a8 =  93:  1433ad0df9 survey: add --top=<N> option and config
 59:  9822ab62a4 =  94:  192b4d4aae mingw: $env:TERM="xterm-256color" for newer OSes
 60:  a10136a5b6 =  95:  f2a1a8295f winansi: check result and Buffer before using Name
 97:  0f55bd91f8 =  96:  ab4bab55e8 mingw: change core.fsyncObjectFiles = 1 by default
 98:  5e3c6f6498 =  97:  445b703ec1 Fix Windows version resources
 99:  4c45682993 =  98:  1c28df0f7d status: fix for old-style submodules with commondir
100:  70aaf8286a =  99:  93da03fbb5 git.rc: include winuser.h
101:  05e83ae040 = 100:  856849e4eb mingw: do load libcurl dynamically by default
102:  6b14d4c275 = 101:  7406614d8b Add a GitHub workflow to verify that Git/Scalar work in Nano Server
103:  e932a30ce2 = 102:  809aa8b819 mingw: suggest `windows.appendAtomically` in more cases
104:  b0e4d5ecf4 = 103:  8b1e4f298d win32: use native ANSI sequence processing, if possible
105:  cbd7843fd5 = 104:  32ae5d4bd8 common-main.c: fflush stdout buffer upon exit
106:  1fbc9c26f8 = 105:  c8506c8417 t5601/t7406(mingw): do run tests with symlink support
107:  a5c16f4307 = 106:  c39272df17 win32: ensure that `localtime_r()` is declared even in i686 builds
108:  cbd257bddc = 107:  4fbdc06aea Fallback to AppData if XDG_CONFIG_HOME is unset
109:  cf70d4a599 = 108:  0286b7cb04 run-command: be helpful with Git LFS fails on Windows 7
 96:  a6e031ba05 = 109:  f5eb6c885c mingw: make sure `errno` is set correctly when socket operations fail
111:  84f6c054e1 = 110:  ccb32b67cf compat/mingw: handle WSA errors in strerror
112:  76fc3982bc = 111:  891ce43971 compat/mingw: drop outdated comment
113:  96c8faa001 = 112:  f986a35ecb t0301: actually test credential-cache on Windows
110:  8f79c4aba3 = 113:  80e7f7e83d survey: clearly note the experimental nature in the output
114:  9c98c1ee73 = 114:  0c4799da0c credential-cache: handle ECONNREFUSED gracefully
115:  d8157a0058 = 115:  14bc9faeee reftable: do make sure to use custom allocators
116:  ee53bec0f2 = 116:  f9fecc9b7b check-whitespace: avoid alerts about upstream commits
117:  f81231de74 = 117:  734dbea351 t/t5571-prep-push-hook.sh: Add test with writing to stderr
118:  9852532262 = 118:  d24f4778de git-svn: mark it as unsupported by the Git for Windows project
119:  ffb9457320 = 119:  a9bf6336ea ci(macos): skip the `git p4` tests
120:  c866fba632 = 120:  8dba15812f Win32: make FILETIME conversion functions public
121:  e7eea34439 = 121:  75916f12db Win32: dirent.c: Move opendir down
122:  fa46714039 = 122:  817dd6e725 mingw: make the dirent implementation pluggable
123:  95e840760b = 123:  3a8f84163e Win32: make the lstat implementation pluggable
124:  78ccdbde15 = 124:  b83d8419f0 mingw: add infrastructure for read-only file system level caches
125:  a1d1c4df41 = 125:  a9eebdf75f mingw: add a cache below mingw's lstat and dirent implementations
126:  1c0cf924df = 126:  c1d06760e6 fscache: load directories only once
127:  f89017c579 = 127:  ab89045571 fscache: add key for GIT_TRACE_FSCACHE
128:  e8242e7dc2 = 128:  aef4a8810f fscache: remember not-found directories
129:  ff8af272e6 = 129:  43683e9ae5 fscache: add a test for the dir-not-found optimization
130:  528b283c29 = 130:  07f945fe6a add: use preload-index and fscache for performance
131:  62d6dfe862 = 131:  e82f4dbe36 dir.c: make add_excludes aware of fscache during status
132:  35a2318457 = 132:  382391425b fscache: make fscache_enabled() public
133:  be7a33a4af = 133:  389a56af59 dir.c: regression fix for add_excludes with fscache
134:  c8f7883d67 = 134:  3544ee178c fetch-pack.c: enable fscache for stats under .git/objects
135:  50545c5beb = 135:  545fa75623 checkout.c: enable fscache for checkout again
136:  1ce92612bd = 136:  ff99fb3dfb Enable the filesystem cache (fscache) in refresh_index().
137:  f222a33f51 = 137:  107eeb6891 fscache: use FindFirstFileExW to avoid retrieving the short name
138:  416ad8fd63 = 138:  2ec58eb1d4 fscache: add GIT_TEST_FSCACHE support
139:  a3e2ba69a7 = 139:  cc83d90f15 fscache: add fscache hit statistics
140:  bfc15ed5a9 = 140:  0f3424bf51 unpack-trees: enable fscache for sparse-checkout
141:  30886fa68c = 141:  dc1816a186 status: disable and free fscache at the end of the status command
142:  b5dda14146 = 142:  f30ab06056 mem_pool: add GIT_TRACE_MEMPOOL support
143:  ce120c1302 = 143:  052a23d1c6 fscache: fscache takes an initial size
144:  32e0c2612a = 144:  d8d40f2f12 fscache: update fscache to be thread specific instead of global
145:  b8fc592e3e = 145:  683c6100b5 fscache: teach fscache to use mempool
146:  65fd650e5f = 146:  0a4a899c14 fscache: make fscache_enable() thread safe
147:  f728026aa9 = 147:  43fbef7bcf fscache: teach fscache to use NtQueryDirectoryFile
148:  b8a3e350e4 = 148:  8b5832c210 fscache: remember the reparse tag for each entry
149:  1007a8e55b = 149:  654969a37b fscache: implement an FSCache-aware is_mount_point()
150:  3a77892ab8 = 150:  f9205f253e clean: make use of FSCache
151:  b33b3085a1 = 151:  da8bf9b46b pack-objects (mingw): demonstrate a segmentation fault with large deltas
152:  3b310a275d = 152:  4f2e7006e4 mingw: support long paths
153:  2b40dab0bc = 153:  9c7c30d318 win32(long path support): leave drive-less absolute paths intact
154:  048a895898 = 154:  bdf3718da5 compat/fsmonitor/fsm-*-win32: support long paths
155:  f8f5f38968 = 155:  28fe6e1cda clean: suggest using `core.longPaths` if paths are too long to remove
156:  a08046a024 = 156:  0c671f1be9 mingw: Support `git_terminal_prompt` with more terminals
157:  ecedd2f4dc = 157:  531112cf2f compat/terminal.c: only use the Windows console if bash 'read -r' fails
158:  6294fc865e = 158:  9e3a4b21b1 mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
159:  342562e2a5 = 159:  2016372735 mingw: introduce code to detect whether we're inside a Windows container
160:  9b4a1dafe0 = 160:  db7ad8cbcc mingw: when running in a Windows container, try to rename() harder
161:  884065e8f3 = 161:  bdf47617b6 git-gui--askyesno: fix funny text wrapping
162:  1a13b1d495 = 162:  e3529fdb53 mingw: move the file_attr_to_st_mode() function definition
163:  fbd929e0ad = 163:  ddf64acddd git-gui--askyesno (mingw): use Git for Windows' icon, if available
164:  e64b4083ac = 164:  73a9ab22d2 mingw: Windows Docker volumes are *not* symbolic links
166:  ab0c8d59dd = 165:  dcb732b459 mingw: work around rename() failing on a read-only file
165:  e7604fee8d = 166:  bac04e450b Win32: symlink: move phantom symlink creation to a separate function
167:  72cc1adb09 = 167:  25cc1ada3d Introduce helper to create symlinks that knows about index_state
168:  1a42559086 = 168:  ddd1b565c6 mingw: allow to specify the symlink type in .gitattributes
169:  95f8797e40 = 169:  3896248519 Win32: symlink: add test for `symlink` attribute
170:  6852b62910 = 170:  479c5784b2 mingw: explicitly specify with which cmd to prefix the cmdline
171:  684fa0a6e4 = 171:  4b18bbdb0b mingw: when path_lookup() failed, try BusyBox
172:  8858d80760 = 172:  5381c51f68 test-tool: learn to act as a drop-in replacement for `iconv`
173:  cdb0c22d41 = 173:  d8165bfb6b tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
174:  3f76295f68 = 174:  2fce2a96b9 gitattributes: mark .png files as binary
175:  a51444b287 = 175:  9cdb1bed83 tests: move test PNGs into t/lib-diff/
176:  3dc199149b = 176:  07d8d8d661 tests: only override sort & find if there are usable ones in /usr/bin/
177:  b9c66fa451 = 177:  cac075559e tests: use the correct path separator with BusyBox
178:  c181404fcb = 178:  017e988e2a mingw: only use Bash-ism `builtin pwd -W` when available
179:  3d26697ea1 = 179:  678dc30097 tests (mingw): remove Bash-specific pwd option
180:  d3399476df = 180:  a0aee68bd8 test-lib: add BUSYBOX prerequisite
181:  c39dbba65c = 181:  25a4228cea Describe Git for Windows' architecture [no ci]
182:  4d2cb53530 = 182:  ee0368c8ce t5003: use binary file from t/lib-diff/
183:  4b35f1ff56 = 183:  5c1a0a2951 Modify the Code of Conduct for Git for Windows
184:  7e37553ddc = 184:  76e3bf0727 t5532: workaround for BusyBox on Windows
185:  bdf7af39d1 = 185:  a2b84cdef9 CONTRIBUTING.md: add guide for first-time contributors
186:  46b7cee9e6 = 186:  c0508c6afa t5605: special-case hardlink test for BusyBox-w32
187:  9d293853d4 = 187:  eed4919996 README.md: Add a Windows-specific preamble
188:  9d4a796d72 = 188:  9b6bce033d t5813: allow for $PWD to be a Windows path
189:  d46d91207a = 189:  7fc6212334 Add an issue template
190:  3d047bb25a = 190:  b16cbc3d29 t9200: skip tests when $PWD contains a colon
191:  796442190c = 191:  bed482b27e mingw: kill child processes in a gentler way
192:  51e5b3593c = 192:  e1525afa84 Add a GitHub workflow to monitor component updates
193:  09b62b542a = 193:  17cc85b4a0 Modify the GitHub Pull Request template (to reflect Git for Windows)
194:  7a417f7eb1 = 194:  134611bd2a mingw: optionally enable wsl compability file mode bits
195:  8a7899264e = 195:  835179d859 mingw: really handle SIGINT
196:  9d996f328b = 196:  9b7259df89 Partially un-revert "editor: save and reset terminal after calling EDITOR"
197:  20ff707742 = 197:  007c46b5b1 reset: reinstate support for the deprecated --stdin option
198:  98693e86bb = 198:  4d2e21ca78 fsmonitor: reintroduce core.useBuiltinFSMonitor
199:  1b9f19b0b7 = 199:  272ff7fb0c dependabot: help keeping GitHub Actions versions up to date
200:  48db920be5 = 200:  e9c7a66ef9 SECURITY.md: document Git for Windows' policies

PhilipOakley and others added 30 commits March 3, 2026 06:46
The vcpkg_install batch file depends on the availability of a
working Git on the CMD path. This may not be present if the user
has selected the 'bash only' option during Git-for-Windows install.

Detect and tell the user about their lack of a working Git in the CMD
window.

Fixes git-for-windows#2348.
A separate PR git-for-windows/build-extra#258
now highlights the recommended path setting during install.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
There are no Windows/ARM64 agents in GitHub Actions yet, therefore we
just skip adjusting the `vs-test` job for now.

Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The intention of this change is to align with how the top-level git
`Makefile` defines its own test target (which also internally calls
`$(MAKE) -C t/ all`). This change also ensures the consistency of
`make -C contrib/subtree test` with other testing in CI executions
(which rely on `$DEFAULT_TEST_TARGET` being defined as `prove`).

Signed-off-by: Victoria Dye <vdye@github.com>
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>
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>
After importing anything with fast-import, we should always let the
garbage collector do its job, since the objects are written to disk
inefficiently.

This brings down an initial import of http://selenic.com/hg from about
230 megabytes to about 14.

In the future, we may want to make this configurable on a per-remote
basis, or maybe teach fast-import about it in the first place.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
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>
dscho and others added 30 commits March 3, 2026 06:46
Includes touch-ups by 마누엘, Philip Oakley and 孙卓识.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
On Windows, symbolic links actually have a type depending on the target:
it can be a file or a directory.

In certain circumstances, this poses problems, e.g. when a symbolic link
is supposed to point into a submodule that is not checked out, so there
is no way for Git to auto-detect the type.

To help with that, we will add support over the course of the next
commits to specify that symlink type via the Git attributes. This
requires an index_state, though, something that Git for Windows'
`symlink()` replacement cannot know about because the function signature
is defined by the POSIX standard and not ours to change.

So let's introduce a helper function to create symbolic links that
*does* know about the index_state.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
When t5605 tries to verify that files are hardlinked (or that they are
not), it uses the `-links` option of the `find` utility.

BusyBox' implementation does not support that option, and BusyBox-w32's
lstat() does not even report the number of hard links correctly (for
performance reasons).

So let's just switch to a different method that actually works on
Windows.

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>
On Windows, symbolic links have a type: a "file symlink" must point at
a file, and a "directory symlink" must point at a directory. If the
type of symlink does not match its target, it doesn't work.

Git does not record the type of symlink in the index or in a tree. On
checkout it'll guess the type, which only works if the target exists
at the time the symlink is created. This may often not be the case,
for example when the link points at a directory inside a submodule.

By specifying `symlink=file` or `symlink=dir` the user can specify what
type of symlink Git should create, so Git doesn't have to rely on
unreliable heuristics.

Signed-off-by: Bert Belder <bertbelder@gmail.com>
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>
Git for Windows uses MSYS2's Bash to run the test suite, which comes
with benefits but also at a heavy price: on the plus side, MSYS2's
POSIX emulation layer allows us to continue pretending that we are on a
Unix system, e.g. use Unix paths instead of Windows ones, yet this is
bought at a rather noticeable performance penalty.

There *are* some more native ports of Unix shells out there, though,
most notably BusyBox-w32's ash. These native ports do not use any POSIX
emulation layer (or at most a *very* thin one, choosing to avoid
features such as fork() that are expensive to emulate on Windows), and
they use native Windows paths (usually with forward slashes instead of
backslashes, which is perfectly legal in almost all use cases).

And here comes the problem: with a $PWD looking like, say,
C:/git-sdk-64/usr/src/git/t/trash directory.t5813-proto-disable-ssh
Git's test scripts get quite a bit confused, as their assumptions have
been shattered. Not only does this path contain a colon (oh no!), it
also does not start with a slash.

This is a problem e.g. when constructing a URL as t5813 does it:
ssh://remote$PWD. Not only is it impossible to separate the "host" from
the path with a $PWD as above, even prefixing $PWD by a slash won't
work, as /C:/git-sdk-64/... is not a valid path.

As a workaround, detect when $PWD does not start with a slash on
Windows, and simply strip the drive prefix, using an obscure feature of
Windows paths: if an absolute Windows path starts with a slash, it is
implicitly prefixed by the drive prefix of the current directory. As we
are talking about the current directory here, anyway, that strategy
works.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The TerminateProcess() function does not actually leave the child
processes any chance to perform any cleanup operations. This is bad
insofar as Git itself expects its signal handlers to run.

A symptom is e.g. a left-behind .lock file that would not be left behind
if the same operation was run, say, on Linux.

To remedy this situation, we use an obscure trick: we inject a thread
into the process that needs to be killed and to let that thread run the
ExitProcess() function with the desired exit status. Thanks J Wyman for
describing this trick.

The advantage is that the ExitProcess() function lets the atexit
handlers run. While this is still different from what Git expects (i.e.
running a signal handler), in practice Git sets up signal handlers and
atexit handlers that call the same code to clean up after itself.

In case that the gentle method to terminate the process failed, we still
fall back to calling TerminateProcess(), but in that case we now also
make sure that processes spawned by the spawned process are terminated;
TerminateProcess() does not give the spawned process a chance to do so
itself.

Please note that this change only affects how Git for Windows tries to
terminate processes spawned by Git's own executables. Third-party
software that *calls* Git and wants to terminate it *still* need to make
sure to imitate this gentle method, otherwise this patch will not have
any effect.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Rather than using private IFTTT Applets that send mails to this
maintainer whenever a new version of a Git for Windows component was
released, let's use the power of GitHub workflows to make this process
publicly visible.

This workflow monitors the Atom/RSS feeds, and opens a ticket whenever a
new version was released.

Note: Bash sometimes releases multiple patched versions within a few
minutes of each other (i.e. 5.1p1 through 5.1p4, 5.0p15 and 5.0p16). The
MSYS2 runtime also has a similar system. We can address those patches as
a group, so we shouldn't get multiple issues about them.

Note further: We're not acting on newlib releases, OpenSSL alphas, Perl
release candidates or non-stable Perl releases. There's no need to open
issues about them.

Co-authored-by: Matthias Aßhauer <mha1993@live.de>
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>
To verify that the symlink is resolved correctly, we use the fact that
`git.exe` is a native Win32 program, and that `git.exe config -f <path>`
therefore uses the native symlink resolution.

Signed-off-by: Bert Belder <bertbelder@gmail.com>
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>
On Windows, the current working directory is pretty much guaranteed to
contain a colon. If we feed that path to CVS, it mistakes it for a
separator between host and port, though.

This has not been a problem so far because Git for Windows uses MSYS2's
Bash using a POSIX emulation layer that also pretends that the current
directory is a Unix path (at least as long as we're in a shell script).

However, that is rather limiting, as Git for Windows also explores other
ports of other Unix shells. One of those is BusyBox-w32's ash, which is
a native port (i.e. *not* using any POSIX emulation layer, and certainly
not emulating Unix paths).

So let's just detect if there is a colon in $PWD and punt in that case.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
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>
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>
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 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>
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.