Skip to content

Rebase shears/next (#22698422892)#23

Open
gitforwindowshelper[bot] wants to merge 278 commits intobase/shears/next-22698422892from
shears/next-22698422892
Open

Rebase shears/next (#22698422892)#23
gitforwindowshelper[bot] wants to merge 278 commits intobase/shears/next-22698422892from
shears/next-22698422892

Conversation

@gitforwindowshelper
Copy link

Workflow run

Rebase Summary: next

From: 48685e5163 (Merge 'readme' into HEAD, 2018-06-07) (3d5ab1134e..48685e5163)
To: b4eea1acff (Merge 'readme' into HEAD, 2018-06-07) (2f86cff57d..b4eea1acff)

Statistics

Metric Count
Total conflicts 0
Skipped (upstreamed) 0
Resolved surgically 0
Range-diff (click to expand)
  1:  91e0f84e75 =   1:  3d2009a51a sideband: mask control characters
  2:  0a84697f95 =   2:  5b878378f3 sideband: introduce an "escape hatch" to allow control characters
  3:  8fdbf7e9fd =   3:  1ffa6d0819 sideband: do allow ANSI color sequences by default
  4:  c6b31a69b8 =   4:  aa15810787 unix-socket: avoid leak when initialization fails
  5:  875361d3c7 =   5:  35e76afddf grep: prevent `^$` false match at end of file
 20:  3c2e3eb787 !   6:  29f8559cec t9350: point out that refs are not updated correctly
    @@ Commit message
         Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
     
      ## t/t9350-fast-export.sh ##
    -@@ t/t9350-fast-export.sh: test_expect_success GPG 'export and import of doubly signed commit' '
    +@@ t/t9350-fast-export.sh: test_expect_success GPG,RUST 'export and import of doubly signed commit' '
      	fi
      '
      
 24:  759cf83bc4 =   7:  73476c49cb transport-helper: add trailing --
 30:  e9e515e243 =   8:  f8bfa317f6 remote-helper: check helper status after import/export
 39:  c8db0354d3 =   9:  5aa498324e Always auto-gc after calling a fast-import transport
 40:  89a65612da =  10:  fcfdb9fcdc mingw: prevent regressions with "drive-less" absolute paths
  6:  13dc863f26 =  11:  a60d37baf8 vcpkg_install: detect lack of Git
  7:  fd202dd3b6 =  12:  f0fda8f57f vcpkg_install: add comment regarding slow network connections
  8:  97b68c7db5 =  13:  f5a05c7f57 vcbuild: install ARM64 dependencies when building ARM64 binaries
  9:  27cafa4594 =  14:  aed7ced90d vcbuild: add an option to install individual 'features'
 10:  f89a563218 =  15:  3b74d225be cmake: allow building for Windows/ARM64
 11:  110a2077fd =  16:  693abaf6cf mingw: include the Python parts in the build
 12:  d1f5809282 =  17:  661c675ac7 ci(vs-build) also build Windows/ARM64 artifacts
 13:  5ff8c4570b =  18:  bd72339d3c win32/pthread: avoid name clashes with winpthread
 14:  4dbc34df14 =  19:  a3fefcaa5c Add schannel to curl installation
 16:  121b529201 =  20:  f74827b233 hash-object: demonstrate a >4GB/LLP64 problem
 15:  0041d30c1a =  21:  cce4679ccd git-compat-util: avoid redeclaring _DEFAULT_SOURCE
 17:  dab81b8d01 =  22:  441a3996b8 cmake(): allow setting HOST_CPU for cross-compilation
 19:  4ee37956e6 =  23:  722e0718f8 object-file.c: use size_t for header lengths
 18:  40139cec2b =  24:  5b8d80d366 Import the source code of mimalloc v2.2.7
 21:  2e9b6f8f3d =  25:  98f4c73599 CMake: default Visual Studio generator has changed
 23:  de03f1b345 =  26:  a5fd40313d hash algorithms: use size_t for section lengths
 22:  887348b5ca =  27:  bb4f9cc0be mimalloc: adjust for building inside Git
 25:  cc994fdcb0 =  28:  82440a0509 mingw: demonstrate a `git add` issue with NTFS junctions
 26:  4977102c21 =  29:  ea5dd2376a .gitignore: add Visual Studio CMakeSetting.json file
 29:  4cb6d1bb8d =  30:  27521f3bc0 hash-object --stdin: verify that it works with >4GB/LLP64
 27:  66bfd879c0 =  31:  fb0722fd7c mimalloc: offer a build-time option to enable it
 28:  e4bc284bae =  32:  f64df87579 t5505/t5516: allow running without `.git/branches/` in the templates
 31:  1bfd33a021 =  33:  0ee601d479 clean: do not traverse mount points
 32:  6699676dd2 =  34:  77fa84e010 strbuf_realpath(): use platform-dependent API if available
 33:  1e54c43f1d =  35:  cc405df96b http: use new "best effort" strategy for Secure Channel revoke checking
 34:  34366bd588 =  36:  8e76b88248 subtree: update `contrib/subtree` `test` target
 35:  13234e4492 =  37:  d8452a817a CMakeLists: add default "x64-windows" arch for Visual Studio
 38:  52c1bdf70b =  38:  d70bcb7321 hash-object: add another >4GB/LLP64 test case
 83:  509ac8b820 =  39:  11760183fb setup: properly use "%(prefix)/" when in WSL
 36:  af156eb16c =  40:  0ebf2ddb2b mingw: use mimalloc
 37:  68a319218a =  41:  40f3fff59c t5505/t5516: fix white-space around redirectors
 41:  19e28036b7 =  42:  d0d0eb1202 clean: remove mount points when possible
 42:  d5da41d938 =  43:  ac4867a3c3 transport: optionally disable side-band-64k
 43:  b6af885bf5 =  44:  d989a0e63d mingw: fix fatal error working on mapped network drives on Windows
 44:  22c70682b8 =  45:  108d384a14 clink.pl: fix MSVC compile script to handle libcurl-d.lib
 45:  d791a76bf4 =  46:  2a0faf9e81 mingw: implement a platform-specific `strbuf_realpath()`
 46:  206c8405ce =  47:  31cab7e4b3 t3701: verify that we can add *lots* of files interactively
 47:  4363f7817b =  48:  4d928513de commit: accept "scissors" with CR/LF line endings
 48:  e607cda3b1 =  49:  fcf9bb87cd t0014: fix indentation
 49:  cbbf67d188 =  50:  823c0c9372 git-gui: accommodate for intent-to-add files
 50:  666b83547e =  51:  7e20ac1218 mingw: allow for longer paths in `parse_interpreter()`
 51:  17369f0dea =  52:  5174c46264 compat/vcbuild: document preferred way to build in Visual Studio
 52:  76cd587988 =  53:  b7e6a41e06 http: optionally send SSL client certificate
 53:  16ffcbbe01 =  54:  27b58cd68f ci: run `contrib/subtree` tests in CI builds
 54:  ef8ca9628b =  55:  3b781c7721 CMake: show Win32 and Generator_platform build-option values
 88:  34099fb83f =  56:  564617cad5 hash-object: add a >4GB/LLP64 test case using filtered input
 89:  b2fa6fb63c =  57:  2f0a11d49a compat/mingw.c: do not warn when failing to get owner
 90:  1aeffe20ea =  58:  6c83b33e95 mingw: $env:TERM="xterm-256color" for newer OSes
 91:  f5dd74b97f =  59:  f258402432 winansi: check result and Buffer before using Name
 55:  f369000a1d =  60:  629eeaf4f3 windows: skip linking `git-<command>` for built-ins
 56:  ef8f9c7da7 =  61:  d40ff75197 mingw: stop hard-coding `CC = gcc`
 57:  6c88bd315a =  62:  f84812c0bf mingw: drop the -D_USE_32BIT_TIME_T option
 58:  7d6a9b978b =  63:  1a275abfa9 mingw: only use -Wl,--large-address-aware for 32-bit builds
 59:  a371de8c89 =  64:  11d7b60f94 mingw: avoid over-specifying `--pic-executable`
 60:  a26c4c37d1 =  65:  6347608f23 mingw: set the prefix and HOST_CPU as per MSYS2's settings
 61:  261ea9462f =  66:  fc969a4d3f mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
 62:  8652534d86 =  67:  2d73ba1159 mingw: rely on MSYS2's metadata instead of hard-coding it
 63:  044c248c5b =  68:  b0d97cb044 mingw: always define `ETC_*` for MSYS2 environments
 64:  205e3cceac =  69:  26243cfedf max_tree_depth: lower it for clang builds in general on Windows
 65:  feac100b98 =  70:  75b07fbf0a mingw: ensure valid CTYPE
 69:  1aee7a4b0b =  71:  0bff17b547 ci: work around a problem with HTTP/2 vs libcurl v8.10.0
 66:  6f1e652635 =  72:  84b22d1e05 mingw: allow `git.exe` to be used instead of the "Git wrapper"
 71:  56f773f6e8 =  73:  2d37c149e7 revision: create mark_trees_uninteresting_dense()
 67:  feae605317 =  74:  c4e460d47b mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system directory
 73:  ff7d1e3bd3 =  75:  627a7df823 survey: stub in new experimental 'git-survey' command
 76:  74c2d4d06a =  76:  601abff597 survey: add command line opts to select references
 68:  229f3ae73e =  77:  16d7c5e5fe clink.pl: fix libexpatd.lib link error when using MSVC
 79:  bfb9def661 =  78:  7f7385c0c1 survey: start pretty printing data in table form
 70:  c57079d52f =  79:  5fd52cd8fb Makefile: clean up .ilk files when MSVC=1
 82:  99d0a5bf06 =  80:  a3780fdb51 survey: add object count summary
 72:  05f4e038fc =  81:  3ba3928ac1 vcbuild: add support for compiling Windows resource files
 87:  2e4f67a1d6 =  82:  754bdadd95 survey: summarize total sizes by object type
 74:  da5bf8dd8e =  83:  9f185a65c9 config.mak.uname: add git.rc to MSVC builds
 75:  e6605ec338 =  84:  7cd1ee9c89 MinGW: link as terminal server aware
105:  f06465a82a =  85:  7c49130c8d survey: show progress during object walk
 77:  001f0badca =  86:  6891897a31 clink.pl: ignore no-stack-protector arg on MSVC=1 builds
 78:  93564ee6b6 =  87:  a5889ce4ea http: optionally load libcurl lazily
107:  12e774a8ca =  88:  1b557ad918 survey: add ability to track prioritized lists
 80:  6fb4be90a7 =  89:  754893595e clink.pl: move default linker options for MSVC=1 builds
 81:  ed282e8942 =  90:  01efb23c8e http: support lazy-loading libcurl also on Windows
109:  27be0a9f34 =  91:  e1cff88384 survey: add report of "largest" paths
 84:  244f6daf75 =  92:  a5d9ec0be4 Add config option `windows.appendAtomically`
 85:  75c2e3d59f =  93:  9c4d1ce809 cmake: install headless-git.
 86:  2d33d56162 =  94:  186bda2997 http: when loading libcurl lazily, allow for multiple SSL backends
111:  41819d15d8 =  95:  fe9677b87e survey: add --top=<N> option and config
106:  d2a9605279 =  96:  2f5a998a86 mingw: make sure `errno` is set correctly when socket operations fail
 92:  54b14dd9b5 =  97:  e014912979 mingw: change core.fsyncObjectFiles = 1 by default
 93:  acac7671c4 =  98:  df465bff64 Fix Windows version resources
 94:  292914785d =  99:  63390b6cfa status: fix for old-style submodules with commondir
 95:  1f1ab0f881 = 100:  17264ca190 git.rc: include winuser.h
 96:  292953fed1 = 101:  8bc2633d6b mingw: do load libcurl dynamically by default
 97:  b8ad9b5a06 = 102:  5bb1f9665d Add a GitHub workflow to verify that Git/Scalar work in Nano Server
 98:  ed4c050de0 = 103:  92f7655181 mingw: suggest `windows.appendAtomically` in more cases
 99:  15396dc2f8 = 104:  e6da37226d win32: use native ANSI sequence processing, if possible
100:  2074e6357d = 105:  2f1d1c46ed common-main.c: fflush stdout buffer upon exit
101:  91c5fbd6cc = 106:  7120116ffa t5601/t7406(mingw): do run tests with symlink support
102:  187296a45f = 107:  4d55b31404 win32: ensure that `localtime_r()` is declared even in i686 builds
103:  daa8e33c81 = 108:  f04f4a9573 Fallback to AppData if XDG_CONFIG_HOME is unset
104:  914d3650bb = 109:  575a1da116 run-command: be helpful with Git LFS fails on Windows 7
113:  90b0e70834 = 110:  40cd8ae83e survey: clearly note the experimental nature in the output
108:  a75da54027 = 111:  70df41fe4f compat/mingw: handle WSA errors in strerror
110:  a98567ef5a = 112:  aaca969c60 compat/mingw: drop outdated comment
112:  c98ed4b45e = 113:  8fb401e645 t0301: actually test credential-cache on Windows
114:  849dc019f6 = 114:  e7be2993a2 credential-cache: handle ECONNREFUSED gracefully
115:  9ce9b9b6b4 = 115:  dab13fe662 reftable: do make sure to use custom allocators
116:  e2eda511f6 = 116:  74489c8f1f check-whitespace: avoid alerts about upstream commits
117:  dc9c6efad5 = 117:  dad5f29d49 t/t5571-prep-push-hook.sh: Add test with writing to stderr
118:  3bc01e74c5 = 118:  089e90ab11 git-svn: mark it as unsupported by the Git for Windows project
119:  d8d94dfb25 = 119:  9233aeda7f ci(macos): skip the `git p4` tests
120:  43a4588ae7 = 120:  e85151e6f3 Win32: make FILETIME conversion functions public
121:  ada6123627 = 121:  4a411e60a1 Win32: dirent.c: Move opendir down
122:  ef9d5a3578 = 122:  8771a557de mingw: make the dirent implementation pluggable
123:  7353c834c0 = 123:  0729e39747 Win32: make the lstat implementation pluggable
124:  f17705878e = 124:  9c507ea560 mingw: add infrastructure for read-only file system level caches
125:  78cd9804ed = 125:  a3b14c7797 mingw: add a cache below mingw's lstat and dirent implementations
126:  bb8ce0f039 = 126:  c0984b06d9 fscache: load directories only once
127:  a2a627de7b = 127:  a571ccf98b fscache: add key for GIT_TRACE_FSCACHE
128:  5361cc02a7 = 128:  d5743506c7 fscache: remember not-found directories
129:  91b770626c = 129:  31cfb69fd1 fscache: add a test for the dir-not-found optimization
130:  1bad6b145f = 130:  f627415a5b add: use preload-index and fscache for performance
131:  fa0185c7b4 = 131:  9bad8fc91a dir.c: make add_excludes aware of fscache during status
132:  bf250218a2 = 132:  4347449e70 fscache: make fscache_enabled() public
133:  ce7666a7e3 = 133:  38a7516801 dir.c: regression fix for add_excludes with fscache
134:  056880ed71 = 134:  34423899f3 fetch-pack.c: enable fscache for stats under .git/objects
135:  61a8757ada = 135:  f40c2ef464 checkout.c: enable fscache for checkout again
136:  fe5ef3b437 = 136:  fedc774c24 Enable the filesystem cache (fscache) in refresh_index().
137:  51d5d0ed86 = 137:  0ac8ec5f94 fscache: use FindFirstFileExW to avoid retrieving the short name
138:  5beaa9aead = 138:  d43cfb7405 fscache: add GIT_TEST_FSCACHE support
139:  0a598adeda = 139:  9cd5db046c fscache: add fscache hit statistics
140:  266ba40c65 = 140:  9e516c9f2a unpack-trees: enable fscache for sparse-checkout
141:  abd572fdcc = 141:  b7ba317474 status: disable and free fscache at the end of the status command
142:  4bf460fa34 = 142:  07649dc150 mem_pool: add GIT_TRACE_MEMPOOL support
143:  a9d3db4d94 = 143:  2014c64e15 fscache: fscache takes an initial size
144:  5a0ca3639e = 144:  4927c80840 fscache: update fscache to be thread specific instead of global
145:  a0d6a16a8f = 145:  1c190e7ffe fscache: teach fscache to use mempool
146:  0e2b846acb = 146:  7f3f89da21 fscache: make fscache_enable() thread safe
147:  72445df097 = 147:  773ebf4ba4 fscache: teach fscache to use NtQueryDirectoryFile
148:  1bf0056af3 = 148:  b040ebf1e6 fscache: remember the reparse tag for each entry
149:  1d8283ec48 = 149:  ca7dc349f9 fscache: implement an FSCache-aware is_mount_point()
150:  2843f18421 = 150:  a97e621957 clean: make use of FSCache
151:  4b02aa433a = 151:  a83ce68b1d pack-objects (mingw): demonstrate a segmentation fault with large deltas
152:  cd96075af0 = 152:  bbe4b6241d mingw: support long paths
153:  8b815949c0 = 153:  2783461a4e win32(long path support): leave drive-less absolute paths intact
154:  3c072704eb = 154:  d322b99bd2 compat/fsmonitor/fsm-*-win32: support long paths
155:  2000ca5f33 = 155:  1952b330e9 clean: suggest using `core.longPaths` if paths are too long to remove
156:  61fa05ef15 = 156:  251e6c3935 mingw: Support `git_terminal_prompt` with more terminals
157:  ac614c19fa = 157:  5913130b95 compat/terminal.c: only use the Windows console if bash 'read -r' fails
158:  59d7b7a8ac = 158:  6b1316ec74 mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
159:  eab47b93fb = 159:  0cdcab1c73 mingw: introduce code to detect whether we're inside a Windows container
166:  05b4c0c971 = 160:  daf742653c Win32: symlink: move phantom symlink creation to a separate function
160:  cb7821f99b = 161:  57726a6e67 mingw: when running in a Windows container, try to rename() harder
167:  986bf74616 = 162:  bc82ab7640 Introduce helper to create symlinks that knows about index_state
161:  01e0044a82 = 163:  80f258caec git-gui--askyesno: fix funny text wrapping
162:  e3547843d3 = 164:  023f7c3486 mingw: move the file_attr_to_st_mode() function definition
168:  b453fe73d5 = 165:  40c374f9c4 mingw: allow to specify the symlink type in .gitattributes
163:  0c6e64a67c = 166:  b800369abd git-gui--askyesno (mingw): use Git for Windows' icon, if available
164:  8778282e36 = 167:  ee0c8f4aea mingw: Windows Docker volumes are *not* symbolic links
169:  3bf4a64415 = 168:  3f0eef22ea Win32: symlink: add test for `symlink` attribute
165:  3c8b3a4374 = 169:  0801166b81 mingw: work around rename() failing on a read-only file
170:  ebecab31d7 = 170:  e993f5a633 mingw: explicitly specify with which cmd to prefix the cmdline
171:  74484f24f3 = 171:  29fda33d94 mingw: when path_lookup() failed, try BusyBox
172:  165a40cfd6 = 172:  34b3a8fce2 test-tool: learn to act as a drop-in replacement for `iconv`
173:  9b11e3dbe3 = 173:  4ab11d8377 tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
174:  63c579b7c9 = 174:  01226b35cc gitattributes: mark .png files as binary
175:  37d5708f1e = 175:  a4a21a8ef7 tests: move test PNGs into t/lib-diff/
176:  b29562548a = 176:  220c90cea1 tests: only override sort & find if there are usable ones in /usr/bin/
177:  010660ef03 = 177:  cd4767c6a6 tests: use the correct path separator with BusyBox
178:  90ff615ef4 = 178:  f72ea60cc4 mingw: only use Bash-ism `builtin pwd -W` when available
179:  d15606cc04 = 179:  4356276fb5 tests (mingw): remove Bash-specific pwd option
180:  7a067d0005 = 180:  fa246a2d0d test-lib: add BUSYBOX prerequisite
181:  751bb23e3d = 181:  813d01e3de Describe Git for Windows' architecture [no ci]
182:  3959b2814f = 182:  d2d12d0d3c t5003: use binary file from t/lib-diff/
183:  6f5764c4ed = 183:  3afe9ef791 Modify the Code of Conduct for Git for Windows
184:  7f3c771055 = 184:  54cf3f748d t5532: workaround for BusyBox on Windows
185:  74dc58b7ef = 185:  ff234f9e0e CONTRIBUTING.md: add guide for first-time contributors
186:  4696b18a51 = 186:  0ac74b62d7 t5605: special-case hardlink test for BusyBox-w32
187:  5c24495396 = 187:  6754c62117 README.md: Add a Windows-specific preamble
188:  07e58761b5 = 188:  ea560cb65e t5813: allow for $PWD to be a Windows path
189:  2656a3306a = 189:  2e77e0f07c Add an issue template
190:  af459afc83 = 190:  bc9f1852ac t9200: skip tests when $PWD contains a colon
191:  1933a3f0ac = 191:  c7e9cedcd0 mingw: kill child processes in a gentler way
192:  6c8852bf7f = 192:  d81cc7ff54 Add a GitHub workflow to monitor component updates
193:  bbd221aa2c = 193:  3c27e4de3f Modify the GitHub Pull Request template (to reflect Git for Windows)
194:  c70705ef8d = 194:  5945e01be6 mingw: optionally enable wsl compability file mode bits
195:  ab33704942 = 195:  c804147d73 mingw: really handle SIGINT
196:  bd2e32a0a2 = 196:  d99b6bb226 Partially un-revert "editor: save and reset terminal after calling EDITOR"
197:  775a80598f = 197:  14a594b95e reset: reinstate support for the deprecated --stdin option
198:  dd9f4d7019 = 198:  9f2c82bb4a fsmonitor: reintroduce core.useBuiltinFSMonitor
199:  22427e4ca1 = 199:  728318fa28 dependabot: help keeping GitHub Actions versions up to date
200:  6b2fd06366 = 200:  6329f328b1 SECURITY.md: document Git for Windows' policies

dscho and others added 30 commits March 5, 2026 01:53
Some platforms (e.g. Windows) provide API functions to resolve paths
much quicker. Let's offer a way to short-cut `strbuf_realpath()` on
those platforms.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
When we commit the template directory as part of `make vcxproj`, the
`branches/` directory is not actually commited, as it is empty.

Two tests were not prepared for that situation.

This developer tried to get rid of the support for `.git/branches/` a
long time ago, but that effort did not bear fruit, so the best we can do
is work around in these here tests.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
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>
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 5, 2026 01:53
The Git project followed Git for Windows' lead and added their Code of
Conduct, based on the Contributor Covenant v1.4, later updated to v2.0.

We adapt it slightly to Git for Windows.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
While it may seem super convenient to some old Unix hands to simpy
require Perl to be available when running the test suite, this is a
major hassle on Windows, where we want to verify that Perl is not,
actually, required in a NO_PERL build.

As a super ugly workaround, we "install" a script into /usr/bin/perl
reading like this:

	#!/bin/sh

	# We'd much rather avoid requiring Perl altogether when testing
	# an installed Git. Oh well, that's why we cannot have nice
	# things.
	exec c:/git-sdk-64/usr/bin/perl.exe "$@"

The problem with that is that BusyBox assumes that the #! line in a
script refers to an executable, not to a script. So when it encounters
the line #!/usr/bin/perl in t5532's proxy-get-cmd, it barfs.

Let's help this situation by simply executing the Perl script with the
"interpreter" specified explicitly.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Getting started contributing to Git can be difficult on a Windows
machine. CONTRIBUTING.md contains a guide to getting started, including
detailed steps for setting up build tools, running tests, and
submitting patches to upstream.

[includes an example by Pratik Karki how to submit v2, v3, v4, etc.]

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
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>
This was pull request git-for-windows#1645 from ZCube/master

Support windows container.

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>
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>
…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>
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, 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 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>
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>
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>
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.