Skip to content

Rebase shears/seen (#23521115901)#63

Open
gitforwindowshelper[bot] wants to merge 279 commits intobase/shears/seen-23521115901from
shears/seen-23521115901
Open

Rebase shears/seen (#23521115901)#63
gitforwindowshelper[bot] wants to merge 279 commits intobase/shears/seen-23521115901from
shears/seen-23521115901

Conversation

@gitforwindowshelper
Copy link
Copy Markdown

Workflow run

Rebase Summary: seen

From: 1b38e9dca3 (git svn: remove deprecation note (since it is no longer included in Git for Windows, anyway) (git-for-windows#6142), 2026-03-24) (56d3fad4ca..1b38e9dca3)

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

kept both sides: retry env vars + NTLM auth methods in http.c; both install_script lines in lib-httpd.sh

Range-diff

To: f113730c2c (git svn: remove deprecation note (since it is no longer included in Git for Windows, anyway) (git-for-windows#6142), 2026-03-24) (d0329062e4..f113730c2c)

Statistics

Metric Count
Total conflicts 1
Skipped (upstreamed) 0
Resolved surgically 1
Range-diff (click to expand)
  1:  c626f211ca =   1:  4d5c9c24f3 unix-socket: avoid leak when initialization fails
  2:  6d7abdad52 =   2:  d1db0bc3fb grep: prevent `^$` false match at end of file
 11:  4df9e223f1 =   3:  e2e1c5070c mingw: include the Python parts in the build
 13:  24ff818597 =   4:  3f7a5a2550 win32/pthread: avoid name clashes with winpthread
 15:  58917e3fa9 =   5:  e6a5ca5dcf git-compat-util: avoid redeclaring _DEFAULT_SOURCE
 18:  5505b0dd84 =   6:  14436af565 Import the source code of mimalloc v2.2.7
  3:  9cf122833d =   7:  e4ba9c6ca3 t9350: point out that refs are not updated correctly
 21:  1a990946ad =   8:  ba1f160289 mimalloc: adjust for building inside Git
  4:  8ee51b9801 =   9:  2458a9c7b9 transport-helper: add trailing --
 25:  4b41399329 =  10:  d5591ff77d mimalloc: offer a build-time option to enable it
  5:  4ed2412e55 =  11:  cc8362814a remote-helper: check helper status after import/export
 28:  299864c73d =  12:  e672fcf209 clean: do not traverse mount points
 33:  548411be7a =  13:  4a146e7c11 mingw: use mimalloc
 36:  196b9101af =  14:  d24d9e215b Always auto-gc after calling a fast-import transport
 37:  a70065e60f =  15:  00de369279 mingw: prevent regressions with "drive-less" absolute paths
 38:  83b15bcd14 =  16:  5c9e0dd77c clean: remove mount points when possible
 39:  3f220296c4 =  17:  c66dc04330 transport: optionally disable side-band-64k
  6:  74f397e8c5 =  18:  31848fdef3 vcpkg_install: detect lack of Git
  7:  21c32bd122 =  19:  e9f96e361b vcpkg_install: add comment regarding slow network connections
  8:  66492404ef =  20:  edb9f99db7 vcbuild: install ARM64 dependencies when building ARM64 binaries
  9:  e346d045d1 =  21:  3afcac4100 vcbuild: add an option to install individual 'features'
 10:  936c9ac049 =  22:  49f9276338 cmake: allow building for Windows/ARM64
 12:  565a703721 =  23:  cf0a766f51 ci(vs-build) also build Windows/ARM64 artifacts
 52:  1ea9ddc211 =  24:  e76a27f97b windows: skip linking `git-<command>` for built-ins
 14:  4dd2d16070 =  25:  5618f6f279 Add schannel to curl installation
 16:  1b7f43bf64 =  26:  f5743d3870 hash-object: demonstrate a >4GB/LLP64 problem
 53:  229da8cf0e =  27:  bc0f17a612 mingw: stop hard-coding `CC = gcc`
 17:  1853efa8e3 =  28:  51801d7462 cmake(): allow setting HOST_CPU for cross-compilation
 19:  b385f35a38 =  29:  673e56084d object-file.c: use size_t for header lengths
 54:  1f1ee07a8b =  30:  7366a3074c mingw: drop the -D_USE_32BIT_TIME_T option
 20:  02fcfdc2ae =  31:  21d93ab976 CMake: default Visual Studio generator has changed
 22:  d6143d9d91 =  32:  7af8d0e868 hash algorithms: use size_t for section lengths
 55:  58114df0e9 =  33:  10f4a99108 mingw: only use -Wl,--large-address-aware for 32-bit builds
 23:  32b1896809 =  34:  d784391c21 mingw: demonstrate a `git add` issue with NTFS junctions
 24:  cae57a9c86 =  35:  c6485de8f8 .gitignore: add Visual Studio CMakeSetting.json file
 27:  49d95544ae =  36:  deca46fe3b hash-object --stdin: verify that it works with >4GB/LLP64
 56:  c8cacb0777 =  37:  c2a66b5b40 mingw: avoid over-specifying `--pic-executable`
 26:  dc78365c05 =  38:  d2bb4b6381 t5505/t5516: allow running without `.git/branches/` in the templates
 29:  9029a9d28c =  39:  4bf6909e57 strbuf_realpath(): use platform-dependent API if available
 30:  e00e5e8b8f =  40:  d2fb6e0c50 http: use new "best effort" strategy for Secure Channel revoke checking
 31:  113c947d22 =  41:  6246a69f88 subtree: update `contrib/subtree` `test` target
 32:  e4f7ac2c92 =  42:  faa2bf6971 CMakeLists: add default "x64-windows" arch for Visual Studio
 35:  b21861e2d4 =  43:  a54acf244e hash-object: add another >4GB/LLP64 test case
 78:  757c1f378e =  44:  cf4cea1503 setup: properly use "%(prefix)/" when in WSL
 79:  02d24c0f34 =  45:  7a3e6e9117 Add config option `windows.appendAtomically`
 57:  294c69ae46 =  46:  aea1851010 mingw: set the prefix and HOST_CPU as per MSYS2's settings
 34:  e43af07b84 =  47:  b4be97290a t5505/t5516: fix white-space around redirectors
 70:  197768e2d3 =  48:  70b2b15141 MinGW: link as terminal server aware
 40:  64e5a37ba3 =  49:  b1afbb23be mingw: fix fatal error working on mapped network drives on Windows
 41:  b3fe304d14 =  50:  5513ab1b4c clink.pl: fix MSVC compile script to handle libcurl-d.lib
 42:  626a1a33fb =  51:  7b85ac8950 mingw: implement a platform-specific `strbuf_realpath()`
 43:  d8eae6814e =  52:  b20a974d3a t3701: verify that we can add *lots* of files interactively
 44:  38a195ff68 =  53:  9811afd890 commit: accept "scissors" with CR/LF line endings
 45:  d5c37f750e =  54:  56ae7e2ac2 t0014: fix indentation
 46:  291924fb65 =  55:  5996e0b8ff git-gui: accommodate for intent-to-add files
 47:  9a81ce23f4 =  56:  cc03b55552 mingw: allow for longer paths in `parse_interpreter()`
 48:  8e1b48eb63 =  57:  fe4049f718 compat/vcbuild: document preferred way to build in Visual Studio
 49:  fbe8186b6e =  58:  351806eb8c http: optionally send SSL client certificate
 50:  0d6e21d25b =  59:  b09b7cdeed ci: run `contrib/subtree` tests in CI builds
 51:  3d6d754b15 =  60:  fe69c7e645 CMake: show Win32 and Generator_platform build-option values
 83:  e588f7ac43 =  61:  c1e2b6c238 hash-object: add a >4GB/LLP64 test case using filtered input
 84:  c62e073f26 =  62:  ac6c83581e compat/mingw.c: do not warn when failing to get owner
 85:  759a15e16d =  63:  00d5df62b7 mingw: $env:TERM="xterm-256color" for newer OSes
 86:  9e6bf8a1a2 =  64:  666a135908 winansi: check result and Buffer before using Name
 87:  2ea315c23b =  65:  093f3ba8c7 mingw: change core.fsyncObjectFiles = 1 by default
 88:  b4fd2e394a =  66:  6d1732fe28 Fix Windows version resources
 89:  a8e711ac62 =  67:  d7d2904d94 status: fix for old-style submodules with commondir
 58:  38a9d76ff6 =  68:  b78df82258 mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
 59:  e7bb81f2dd =  69:  64c5854ba3 mingw: rely on MSYS2's metadata instead of hard-coding it
 60:  d5f4bdd481 =  70:  82685b3f81 mingw: always define `ETC_*` for MSYS2 environments
 61:  0370c1f212 =  71:  a697351227 max_tree_depth: lower it for clang builds in general on Windows
 62:  855db934b8 =  72:  a94d466f31 mingw: ensure valid CTYPE
 68:  15a493aad2 =  73:  fdc7b517be ci: work around a problem with HTTP/2 vs libcurl v8.10.0
 63:  aba33995a6 =  74:  8a47d5b2ef mingw: allow `git.exe` to be used instead of the "Git wrapper"
 71:  349ac8db84 =  75:  7a6da46b1e revision: create mark_trees_uninteresting_dense()
 64:  6962d99581 =  76:  d5571f540d mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system directory
 74:  677f71918c =  77:  4c097efd72 survey: stub in new experimental 'git-survey' command
 77:  847378ddbd =  78:  bfa0fd230d survey: add command line opts to select references
 65:  af0ae12652 =  79:  baa1e4ef84 clink.pl: fix libexpatd.lib link error when using MSVC
 82:  c6f0d627f0 =  80:  187426a0ce survey: start pretty printing data in table form
 66:  08faec746c =  81:  3b844166af Makefile: clean up .ilk files when MSVC=1
100:  9d29f0baab =  82:  3ba4bfa692 survey: add object count summary
 67:  8bb3c5fdaa =  83:  8e4fc13b50 vcbuild: add support for compiling Windows resource files
101:  2925674101 =  84:  9980d58bfb survey: summarize total sizes by object type
 69:  fcabcc5eae =  85:  14d542640c config.mak.uname: add git.rc to MSVC builds
102:  965003291c =  86:  e91cef876f survey: show progress during object walk
103:  5ef2256841 =  87:  bbca6031d9 mingw: make sure `errno` is set correctly when socket operations fail
 72:  f69d3e111e =  88:  2e231724b5 clink.pl: ignore no-stack-protector arg on MSVC=1 builds
 73:  effe9d4b5c =  89:  1b8a73a4f8 http: optionally load libcurl lazily
104:  2838b828a3 =  90:  e00f42f3b4 survey: add ability to track prioritized lists
105:  2f97d77e46 =  91:  00cd3e6c30 compat/mingw: handle WSA errors in strerror
 75:  45cdcd81ca =  92:  d9b945c146 clink.pl: move default linker options for MSVC=1 builds
 76:  7b4ef932f4 =  93:  d29f2ddd9d http: support lazy-loading libcurl also on Windows
106:  637efd0ea4 =  94:  53abb3db16 survey: add report of "largest" paths
107:  50def4b7d9 =  95:  8e2c2f30fd compat/mingw: drop outdated comment
 80:  7c459ffe3b =  96:  10a59f6fed cmake: install headless-git.
 81:  bee144107c =  97:  a199e946a6 http: when loading libcurl lazily, allow for multiple SSL backends
108:  1c7fd59194 =  98:  12a3d5a5a6 survey: add --top=<N> option and config
109:  cdb9b4656b =  99:  dd3a71e624 t0301: actually test credential-cache on Windows
 90:  a9f8693f54 = 100:  bf0dc6d656 git.rc: include winuser.h
 91:  b7e1c11f0e = 101:  57b2c6981a mingw: do load libcurl dynamically by default
 92:  811e870a61 = 102:  7686f73601 Add a GitHub workflow to verify that Git/Scalar work in Nano Server
 93:  36b363737a = 103:  5651fe410e mingw: suggest `windows.appendAtomically` in more cases
 94:  8afefe5d8e = 104:  b336a42900 win32: use native ANSI sequence processing, if possible
 95:  fb6294c439 = 105:  6ea27f4ed0 common-main.c: fflush stdout buffer upon exit
 96:  0e04dad4f4 = 106:  3b472194fa t5601/t7406(mingw): do run tests with symlink support
 97:  61c25a7f2f = 107:  ae45b41b0a win32: ensure that `localtime_r()` is declared even in i686 builds
 98:  d2779f79e7 = 108:  e111e9187c Fallback to AppData if XDG_CONFIG_HOME is unset
 99:  86c415dac2 = 109:  4f67a309f0 run-command: be helpful with Git LFS fails on Windows 7
110:  8bb77e0cf3 = 110:  ee0ee42a1d survey: clearly note the experimental nature in the output
111:  4c874f94b0 = 111:  d1365f0e44 credential-cache: handle ECONNREFUSED gracefully
112:  f490c51fc6 = 112:  27858efe75 reftable: do make sure to use custom allocators
113:  b2433420e4 = 113:  1842ed65ae check-whitespace: avoid alerts about upstream commits
114:  995c48d6c5 = 114:  2138ddc074 t/t5571-prep-push-hook.sh: Add test with writing to stderr
115:  bbd8e4dd73 = 115:  bcdf37dd21 git-svn: mark it as unsupported by the Git for Windows project
116:  0359d995df = 116:  b53f1cff5e ci(macos): skip the `git p4` tests
135:  bce221d70d = 117:  e2f0c011b1 git-gui--askyesno: fix funny text wrapping
137:  edab361387 = 118:  609cf49edc git-gui--askyesno (mingw): use Git for Windows' icon, if available
117:  bd3fe7be97 = 119:  b2fd795f99 Win32: make FILETIME conversion functions public
118:  e4bf2d4edc = 120:  fc90d06ff2 Win32: dirent.c: Move opendir down
119:  e6ab2b221f = 121:  c86fd97932 mingw: make the dirent implementation pluggable
120:  8f45723e9f = 122:  75df470cad Win32: make the lstat implementation pluggable
121:  ffc4fba159 = 123:  bb33c048c8 mingw: add infrastructure for read-only file system level caches
122:  3243288fb4 = 124:  83f842a1c4 mingw: add a cache below mingw's lstat and dirent implementations
123:  57d40b15d1 = 125:  be7b2dfd7c fscache: load directories only once
124:  17c61b638e = 126:  1ac95a9177 fscache: add key for GIT_TRACE_FSCACHE
125:  9d894955f0 = 127:  68b849f179 fscache: remember not-found directories
126:  62603ba75f = 128:  5a1edaa60a fscache: add a test for the dir-not-found optimization
127:  740f20f13e = 129:  86e903411f add: use preload-index and fscache for performance
128:  da7184f143 = 130:  6bf70331f4 dir.c: make add_excludes aware of fscache during status
129:  1216f140b5 = 131:  4b531c39dc fscache: make fscache_enabled() public
130:  1b7dc438ea = 132:  8543067ff6 dir.c: regression fix for add_excludes with fscache
131:  1d082393a9 = 133:  25b4dd081e fetch-pack.c: enable fscache for stats under .git/objects
132:  c2f6774362 = 134:  4e02398bab checkout.c: enable fscache for checkout again
133:  c4e955c908 = 135:  67a13926cf Enable the filesystem cache (fscache) in refresh_index().
134:  3abda8f7f8 = 136:  c4f04e5dc8 fscache: use FindFirstFileExW to avoid retrieving the short name
136:  674b01278d = 137:  0df959e574 fscache: add GIT_TEST_FSCACHE support
138:  e69490565e = 138:  f58fbd59f2 fscache: add fscache hit statistics
139:  2d74e82758 = 139:  3b32042a08 unpack-trees: enable fscache for sparse-checkout
140:  aef843a467 = 140:  a9e6116423 status: disable and free fscache at the end of the status command
141:  9ec92552e6 = 141:  64c2bc0128 mem_pool: add GIT_TRACE_MEMPOOL support
142:  918d29a2c6 = 142:  421e181179 fscache: fscache takes an initial size
143:  613a1eec20 = 143:  7ed815c23c fscache: update fscache to be thread specific instead of global
144:  2656e718d7 = 144:  04b5f4cc66 fscache: teach fscache to use mempool
145:  c8212d2f55 = 145:  946d797d0b fscache: make fscache_enable() thread safe
146:  880c6a1e87 = 146:  482f139738 fscache: teach fscache to use NtQueryDirectoryFile
147:  45c5c895a6 = 147:  895b8401e8 fscache: remember the reparse tag for each entry
148:  8c2ee902fa = 148:  42ca1feff1 fscache: implement an FSCache-aware is_mount_point()
149:  81d8672ba8 = 149:  01b4ae7ff0 clean: make use of FSCache
150:  babb22fd7d = 150:  8d20e60625 pack-objects (mingw): demonstrate a segmentation fault with large deltas
151:  474eeac1fa = 151:  1c6bb0fbb5 mingw: support long paths
152:  bc7a039440 = 152:  765a45aabf win32(long path support): leave drive-less absolute paths intact
153:  111f61aa6e = 153:  df68bdbc2b compat/fsmonitor/fsm-*-win32: support long paths
154:  4763d2d8ef = 154:  af79aeceec clean: suggest using `core.longPaths` if paths are too long to remove
155:  49c8a83d9d = 155:  5fdcd1d1a4 mingw: Support `git_terminal_prompt` with more terminals
156:  39b61eb67d = 156:  779c8da166 compat/terminal.c: only use the Windows console if bash 'read -r' fails
157:  f356906ae3 = 157:  297b24b87c mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
158:  ae71943459 = 158:  4a7e2f0a20 Win32: symlink: move phantom symlink creation to a separate function
159:  9667430a2f = 159:  a95b50e3b1 Introduce helper to create symlinks that knows about index_state
160:  ddb0b7b88c = 160:  70c3d1bf4e mingw: allow to specify the symlink type in .gitattributes
172:  b376674613 = 161:  339f011418 mingw: introduce code to detect whether we're inside a Windows container
161:  40a988b935 = 162:  d36bae4cca Win32: symlink: add test for `symlink` attribute
174:  c6315d4971 = 163:  e38d25f292 mingw: when running in a Windows container, try to rename() harder
162:  4a3c7dcb86 = 164:  87500cae1d mingw: explicitly specify with which cmd to prefix the cmdline
176:  e3a6938809 = 165:  2176c699ec mingw: move the file_attr_to_st_mode() function definition
163:  fe557bf6fe = 166:  33ab1eb1df mingw: when path_lookup() failed, try BusyBox
178:  8b9218aa20 = 167:  1843151c5d mingw: Windows Docker volumes are *not* symbolic links
164:  706ee2c96f = 168:  13f9f73d7d test-tool: learn to act as a drop-in replacement for `iconv`
180:  034f2c0f9e = 169:  c30e6a3600 mingw: work around rename() failing on a read-only file
165:  27b6037254 = 170:  c6949c8ee1 tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
166:  91b9bcfa36 = 171:  5f2aa93f68 gitattributes: mark .png files as binary
167:  b3f5682feb = 172:  2e766e17d5 tests: move test PNGs into t/lib-diff/
168:  d2e147818a = 173:  de4c58eb0a tests: only override sort & find if there are usable ones in /usr/bin/
169:  6a1bd752f3 = 174:  46cda0a02a tests: use the correct path separator with BusyBox
170:  398a75326e = 175:  3b03bb43af mingw: only use Bash-ism `builtin pwd -W` when available
171:  6acd02e0c8 = 176:  4e947b389a tests (mingw): remove Bash-specific pwd option
173:  6f8226631e = 177:  81a7089288 test-lib: add BUSYBOX prerequisite
175:  613230a2a8 = 178:  39f3e8c1a1 t5003: use binary file from t/lib-diff/
183:  25c5ebf066 = 179:  8e48036a23 Describe Git for Windows' architecture [no ci]
177:  e9cf1d208e = 180:  b734ad5203 t5532: workaround for BusyBox on Windows
186:  c9f146b20c = 181:  ba4f48a1eb Modify the Code of Conduct for Git for Windows
179:  62c8815b67 = 182:  987b66f0b8 t5605: special-case hardlink test for BusyBox-w32
188:  b3690b74e1 = 183:  9d1741ee46 CONTRIBUTING.md: add guide for first-time contributors
181:  397dbb85e7 = 184:  ad348e70c1 t5813: allow for $PWD to be a Windows path
190:  0a57bb195d = 185:  f3daaf6f4a README.md: Add a Windows-specific preamble
182:  1bd4fc52d4 = 186:  272dc5fced t9200: skip tests when $PWD contains a colon
192:  e92c72b465 = 187:  6b1f024165 Add an issue template
184:  ca8036ca07 = 188:  1ba259b1f5 mingw: kill child processes in a gentler way
185:  2001553250 = 189:  c488b48abe mingw: optionally enable wsl compability file mode bits
193:  92d74d14ce = 190:  61cef710dc Add a GitHub workflow to monitor component updates
195:  55c2d739be = 191:  eafccca62c Modify the GitHub Pull Request template (to reflect Git for Windows)
187:  e0c893a862 = 192:  12dd96650a mingw: really handle SIGINT
189:  5e19cec7d1 = 193:  2f4574ac50 Partially un-revert "editor: save and reset terminal after calling EDITOR"
191:  a1b235c1f3 = 194:  8e5289f85e reset: reinstate support for the deprecated --stdin option
194:  5c2241430a = 195:  08b1f9a212 fsmonitor: reintroduce core.useBuiltinFSMonitor
196:  89496bab32 = 196:  e9d94c6a9e dependabot: help keeping GitHub Actions versions up to date
197:  5a64343df5 = 197:  6fb8ead178 SECURITY.md: document Git for Windows' policies
198:  8d6e32293b = 198:  b509daf6ed http: fix bug in ntlm_allow=1 handling
  -:  ---------- > 199:  3559644311 fixup! git-svn: mark it as unsupported by the Git for Windows project

PhilipOakley and others added 30 commits March 25, 2026 01:54
The CMakeSettings.json file is tool generated. Developers may track it
should they provide additional settings.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Just like the `hash-object --literally` code path, the `--stdin` code
path also needs to use `size_t` instead of `unsigned long` to represent
memory sizes, otherwise it would cause problems on platforms using the
LLP64 data model (such as Windows).

To limit the scope of the test case, the object is explicitly not
written to the object store, nor are any filters applied.

The `big` file from the previous test case is reused to save setup time;
To avoid relying on that side effect, it is generated if it does not
exist (e.g. when running via `sh t1007-*.sh --long --run=1,41`).

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

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

So let's drop the overly-specific definition.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
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>
MSYS2 already defines a couple of helpful environment variables, and we
can use those to infer the installation location as well as the CPU. No
need for hard-coding ;-)

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>
derrickstolee and others added 30 commits March 25, 2026 01:54
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>
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>
Includes touch-ups by 마누엘, Philip Oakley and 孙卓识.

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>
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>
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>
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>
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>
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>
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>
…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>
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>
This topic branch addresses the following vulnerability:

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

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

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

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

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
As of git-for-windows/MINGW-packages#187, Git
for Windows no longer includes `git svn` in its installers and portable
Git editions.

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

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

So let's drop that deprecation note.

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

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

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

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

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

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

So let's drop that deprecation note.
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.