Rebase shears/main: 1 conflict(s) (0 skipped, 1 resolved) (#24168314048)#108
Open
gitforwindowshelper[bot] wants to merge 284 commits intobase/shears/main-24168314048from
Open
Rebase shears/main: 1 conflict(s) (0 skipped, 1 resolved) (#24168314048)#108gitforwindowshelper[bot] wants to merge 284 commits intobase/shears/main-24168314048from
gitforwindowshelper[bot] wants to merge 284 commits intobase/shears/main-24168314048from
Conversation
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>
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>
In the case of Git for Windows (say, in a Git Bash window) running in a Windows Subsystem for Linux (WSL) directory, the GetNamedSecurityInfoW() call in is_path_owned_By_current_side() returns an error code other than ERROR_SUCCESS. This is consistent behavior across this boundary. In these cases, the owner would always be different because the WSL owner is a different entity than the Windows user. The change here is to suppress the error message that looks like this: error: failed to get owner for '//wsl.localhost/...' (1) Before this change, this warning happens for every Git command, regardless of whether the directory is marked with safe.directory. Signed-off-by: Derrick Stolee <derrickstolee@github.com>
For Windows builds >= 15063 set $env:TERM to "xterm-256color" instead of "cygwin" because they have a more capable console system that supports this. Also set $env:COLORTERM="truecolor" if unset. $env:TERM is initialized so that ANSI colors in color.c work, see 29a3963 (Win32: patch Windows environment on startup, 2012-01-15). See git-for-windows#3629 regarding problems caused by always setting $env:TERM="cygwin". This is the same heuristic used by the Cygwin runtime. Signed-off-by: Rafael Kitover <rkitover@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
NtQueryObject under Wine can return a success but fill out no name. In those situations, Wine will set Buffer to NULL, and set result to the sizeof(OBJECT_NAME_INFORMATION). Running a command such as echo "$(git.exe --version 2>/dev/null)" will crash due to a NULL pointer dereference when the code attempts to null terminate the buffer, although, weirdly, removing the subshell or redirecting stdout to a file will not trigger the crash. Code has been added to also check Buffer and Length to ensure the check is as robust as possible due to the current behavior being fragile at best, and could potentially change in the future This code is based on the behavior of NtQueryObject under wine and reactos. Signed-off-by: Christopher Degawa <ccom@randomderp.com>
Atomic append on windows is only supported on local disk files, and it may cause errors in other situations, e.g. network file system. If that is the case, this config option should be used to turn atomic append off. Co-Authored-By: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: 孙卓识 <sunzhuoshi@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
From the documentation of said setting: This boolean will enable fsync() when writing object files. This is a total waste of time and effort on a filesystem that orders data writes properly, but can be useful for filesystems that do not use journalling (traditional UNIX filesystems) or that only journal metadata and not file contents (OS X’s HFS+, or Linux ext3 with "data=writeback"). The most common file system on Windows (NTFS) does not guarantee that order, therefore a sudden loss of power (or any other event causing an unclean shutdown) would cause corrupt files (i.e. files filled with NULs). Therefore we need to change the default. Note that the documentation makes it sound as if this causes really bad performance. In reality, writing loose objects is something that is done only rarely, and only a handful of files at a time. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Whith Windows 2000, Microsoft introduced a flag to the PE header to mark executables as "terminal server aware". Windows terminal servers provide a redirected Windows directory and redirected registry hives when launching legacy applications without this flag set. Since we do not use any INI files in the Windows directory and don't write to the registry, we don't need this additional preparation. Telling the OS that we don't need this should provide slightly improved startup times in terminal server environments. When building for supported Windows Versions with MSVC the /TSAWARE linker flag is automatically set, but MinGW requires us to set the --tsaware flag manually. This partially addresses git-for-windows#3935. Signed-off-by: Matthias Aßhauer <mha1993@live.de>
The Git for Windows project has grown quite complex over the years, certainly much more complex than during the first years where the `msysgit.git` repository was abusing Git for package management purposes and the `git/git` fork was called `4msysgit.git`. Let's describe the status quo in a thorough way. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
When t5605 tries to verify that files are hardlinked (or that they are not), it uses the `-links` option of the `find` utility. BusyBox' implementation does not support that option, and BusyBox-w32's lstat() does not even report the number of hard links correctly (for performance reasons). So let's just switch to a different method that actually works on Windows. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This was pull request git-for-windows#1645 from ZCube/master Support windows container. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
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>
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>
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>
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>
Specify symlink type in .gitattributes
Includes touch-ups by 마누엘, Philip Oakley and 孙卓识. 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>
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>
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>
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>
…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>
Handle Ctrl+C in Git Bash nicely 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>
See https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot#enabling-dependabot-version-updates-for-actions for details. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This is the recommended way on GitHub to describe policies revolving around security issues and about supported versions. Helped-by: Sven Strickroth <email@cs-ware.de> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
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>
…s#6108) While the currently used way to detect the number of CPU cores ond Windows is nice and straight-forward, GetSystemInfo() only [gives us access to the number of processors within the current group.](https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/ns-sysinfoapi-system_info#members) While that is usually fine for systems with a single physical CPU, separate physical sockets are typically separate groups. Switch to using GetLogicalProcessorInformationEx() to handle multi-socket systems better. I've tested this on a physical single-socket x86-64 and a physical dual-socket x86-64 system, and on a virtual single-socket ARM64 system. Physical [multi-socket ARM64 systems seem to exist](https://cloudbase.it/ampere-altra-industry-leading-arm64-server/), but I don't have access to such hardware and the hypervisor I use apparently can't emulate that either.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Workflow run
Rebase Summary: main
From: 8aeb81fa23 (Detect number of cores better on multi-socket systems (git-for-windows#6108), 2026-04-06) (fffb57cf82..8aeb81fa23)
Resolved: 8aeb81f (Detect number of cores better on multi-socket systems (git-for-windows#6108), 2026-04-06)
resolved all 5 files by taking HEAD's version, matching original merge's resolution pattern of preserving first parent's content
Range-diff
1: 8aeb81f ! 1: 14b0fc7 Detect number of cores better on multi-socket systems (Detect number of cores better on multi-socket systems git#6108)
@@ Commit message but I don't have access to such hardware and the hypervisor I use apparently can't emulate that either. - ## Documentation/git-svn.adoc ## -@@ Documentation/git-svn.adoc: SYNOPSIS - -------- - [verse] - 'git svn' <command> [<options>] [<arguments>] -+(UNSUPPORTED!) - - DESCRIPTION - ----------- + ## builtin/reset.c ## + remerge CONFLICT (content): Merge conflict in builtin/reset.c + index babccfe50f..1cd7e61fe4 100644 + --- builtin/reset.c + +++ builtin/reset.c +@@ builtin/reset.c: int cmd_reset(int argc, + struct object_id oid; + struct pathspec pathspec; + int intent_to_add = 0; +-<<<<<<< 8d2750ec78 (Merge 'readme' into HEAD) + struct interactive_options interactive_opts = INTERACTIVE_OPTIONS_INIT; +-======= +- struct add_p_opt add_p_opt = ADD_P_OPT_INIT; +->>>>>>> 5ce2b45bb3 (win32: thread-utils: handle multi-socket systems) + int nul_term_line = 0, read_from_stdin = 0; + const struct option options[] = { + OPT__QUIET(&quiet, N_("be quiet, only report errors")), - ## git-svn.perl ## -@@ git-svn.perl: sub term_init { - : new Term::ReadLine 'git-svn'; - } + ## git-curl-compat.h ## + remerge CONFLICT (content): Merge conflict in git-curl-compat.h + index 4cce34ed64..5c8ceb076a 100644 + --- git-curl-compat.h + +++ git-curl-compat.h +@@ + #endif -+sub deprecated_warning { -+ my @lines = @_; -+ if (-t STDERR) { -+ @lines = map { "\e[33m$_\e[0m" } @lines; -+ } -+ warn join("\n", @lines), "\n"; -+} -+ -+deprecated_warning( -+ "WARNING: \`git svn\` is no longer supported by the Git for Windows project.", -+ "See https://github.com/git-for-windows/git/issues/5405 for details." -+); -+ - my $cmd; - for (my $i = 0; $i < @ARGV; $i++) { - if (defined $cmd{$ARGV[$i]}) { - - ## t/t9108-git-svn-glob.sh ## -@@ t/t9108-git-svn-glob.sh: test_expect_success 'test disallow multi-globs' ' - svn_cmd commit -m "try to try" - ) && - test_must_fail git svn fetch three 2> stderr.three && -- test_cmp expect.three stderr.three -+ sed "/^WARNING.*no.* supported/{N;d}" <stderr.three >stderr.three.clean && -+ test_cmp expect.three stderr.three.clean - ' + /** +-<<<<<<< 8d2750ec78 (Merge 'readme' into HEAD) + * CURLINFO_RETRY_AFTER was added in 7.66.0, released in September 2019. + * It allows curl to automatically parse Retry-After headers. + */ +@@ + #endif - test_done + /** +-======= +->>>>>>> 5ce2b45bb3 (win32: thread-utils: handle multi-socket systems) + * CURLSSLOPT_AUTO_CLIENT_CERT was added in 7.77.0, released in May + * 2021. + */ - ## t/t9109-git-svn-multi-glob.sh ## -@@ t/t9109-git-svn-multi-glob.sh: test_expect_success 'test disallow multiple globs' ' - svn_cmd commit -m "try to try" - ) && - test_must_fail git svn fetch three 2> stderr.three && -- test_cmp expect.three stderr.three -+ sed "/^WARNING.*no.* supported/{N;d}" <stderr.three >stderr.three.clean && -+ test_cmp expect.three stderr.three.clean - ' + ## http.c ## + remerge CONFLICT (content): Merge conflict in http.c + index 22612259d4..5bc2ad8b87 100644 + --- http.c + +++ http.c +@@ http.c: static long http_schannel_check_revoke_mode = + CURLSSLOPT_NO_REVOKE; + #endif - test_done - - ## t/t9168-git-svn-partially-globbed-names.sh ## -@@ t/t9168-git-svn-partially-globbed-names.sh: test_expect_success 'test disallow prefixed multi-globs' ' - svn_cmd commit -m "try to try" - ) && - test_must_fail git svn fetch four 2>stderr.four && -- test_cmp expect.four stderr.four && -+ sed "/^WARNING.*no.* supported/{N;d}" <stderr.four >stderr.four.clean && -+ test_cmp expect.four stderr.four.clean && - git config --unset svn-remote.four.branches && - git config --unset svn-remote.four.tags - ' -@@ t/t9168-git-svn-partially-globbed-names.sh: test_expect_success 'test disallow multiple asterisks in one word' ' - svn_cmd commit -m "try to try" - ) && - test_must_fail git svn fetch six 2>stderr.six && -- test_cmp expect.six stderr.six -+ sed "/^WARNING.*no.* supported/{N;d}" <stderr.six >stderr.six.clean && -+ test_cmp expect.six stderr.six.clean - ' +-<<<<<<< 8d2750ec78 (Merge 'readme' into HEAD) + static long http_retry_after = 0; + static long http_max_retries = 0; + static long http_max_retry_time = 300; - test_done +-======= +->>>>>>> 5ce2b45bb3 (win32: thread-utils: handle multi-socket systems) + /* + * With the backend being set to `schannel`, setting sslCAinfo would override + * the Certificate Store in cURL v7.60.0 and later, which is not what we want - ## thread-utils.c ## -@@ thread-utils.c: int online_cpus(void) - #endif + ## refs/reftable-backend.c ## + remerge CONFLICT (content): Merge conflict in refs/reftable-backend.c + index 2a3e72a8f6..2f438385da 100644 + --- refs/reftable-backend.c + +++ refs/reftable-backend.c +@@ refs/reftable-backend.c: static struct ref_store *reftable_be_init(struct repository *repo, + umask(mask); - #ifdef GIT_WINDOWS_NATIVE -- SYSTEM_INFO info; -- GetSystemInfo(&info); -- -- if ((int)info.dwNumberOfProcessors > 0) -- return (int)info.dwNumberOfProcessors; -+ DWORD len = 0; -+ if (!GetLogicalProcessorInformationEx(RelationProcessorCore, NULL, &len) && GetLastError() == ERROR_INSUFFICIENT_BUFFER) { -+ uint8_t *buf = malloc(len); -+ if (buf) { -+ if (GetLogicalProcessorInformationEx(RelationProcessorCore, (PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX) buf, &len)) { -+ DWORD offset = 0; -+ int n_cores = 0; -+ while (offset < len) { -+ PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX info = (PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX) (buf + offset); -+ offset += info->Size; -+ /* The threads within a core always share a single group. We need to count the bits in the mask to get a thread count. */ -+ for (KAFFINITY mask = info->Processor.GroupMask[0].Mask; mask; mask >>= 1) -+ n_cores += mask &1; -+ } -+ if (n_cores) { -+ free(buf); -+ return n_cores; -+ } -+ } -+ free(buf); -+ } -+ } - #elif defined(hpux) || defined(__hpux) || defined(_hpux) - struct pst_dynamic psd; + reftable_set_alloc(malloc, realloc, free); +-<<<<<<< 8d2750ec78 (Merge 'readme' into HEAD) + refs_compute_filesystem_location(gitdir, payload, &is_worktree, &refdir, + &ref_common_dir); + + base_ref_store_init(&refs->base, repo, refdir.buf, &refs_be_reftable); +-======= +- base_ref_store_init(&refs->base, repo, gitdir, &refs_be_reftable); +->>>>>>> 5ce2b45bb3 (win32: thread-utils: handle multi-socket systems) + strmap_init(&refs->worktree_backends); + refs->store_flags = store_flags; + refs->log_all_ref_updates = repo_settings_get_log_all_ref_updates(repo); + + ## t/meson.build ## + remerge CONFLICT (content): Merge conflict in t/meson.build + index e2b790bc8f..81591f64bf 100644 + --- t/meson.build + +++ t/meson.build +@@ t/meson.build: integration_tests = [ + 't7422-submodule-output.sh', + 't7423-submodule-symlinks.sh', + 't7424-submodule-mixed-ref-formats.sh', +-<<<<<<< 8d2750ec78 (Merge 'readme' into HEAD) + 't7425-submodule-gitdir-path-extension.sh', + 't7426-submodule-get-default-remote.sh', +-======= +->>>>>>> 5ce2b45bb3 (win32: thread-utils: handle multi-socket systems) + 't7429-submodule-long-path.sh', + 't7450-bad-git-dotfiles.sh', + 't7500-commit-template-squash-signoff.sh',To: 14b0fc702f (Detect number of cores better on multi-socket systems (git-for-windows#6108), 2026-04-06) (4316ce596a..14b0fc702f)
Statistics
Range-diff (click to expand)
1: 2ad410d = 1: fc6a091 sideband: mask control characters
2: 795be3d = 2: ef44855 sideband: introduce an "escape hatch" to allow control characters
3: 736e2b8 = 3: 3caff5a sideband: do allow ANSI color sequences by default
4: f0764a1 = 4: 988d3e2 unix-socket: avoid leak when initialization fails
5: 0ec68a0 = 5: 790d861 Merge branch 'disallow-control-characters-in-sideband-channel'
6: c0e5805 = 6: 3c5c2e0 grep: prevent
^$false match at end of file7: a2365e5 = 7: adadc0a Merge branch 'fixes-from-the-git-mailing-list'
12: 326cd68 = 8: 42b961e t9350: point out that refs are not updated correctly
14: 75b69a9 = 9: 23a17a8 transport-helper: add trailing --
16: c4c2ba5 = 10: 8d92732 remote-helper: check helper status after import/export
17: b086357 = 11: 705c35b clean: do not traverse mount points
19: 9c9b629 = 12: d7bc2d4 Always auto-gc after calling a fast-import transport
20: 6280fe2 = 13: a16863b mingw: prevent regressions with "drive-less" absolute paths
21: aa47724 = 14: b2bb22f clean: remove mount points when possible
24: 4a58345 = 15: e9a6c2b vcpkg_install: detect lack of Git
25: 7dac108 = 16: 4cc6a3f vcpkg_install: add comment regarding slow network connections
27: 6f5b70f = 17: bc0e545 vcbuild: install ARM64 dependencies when building ARM64 binaries
29: 92ce660 = 18: 6b02984 vcbuild: add an option to install individual 'features'
31: 77e2077 = 19: eb1647e cmake: allow building for Windows/ARM64
8: 031e61c = 20: d1f8c87 mingw: include the Python parts in the build
33: a77638f = 21: 4c4f440 ci(vs-build) also build Windows/ARM64 artifacts
9: 8fcbbe1 = 22: 097e975 win32/pthread: avoid name clashes with winpthread
35: bfc39b2 = 23: 7d44229 Add schannel to curl installation
36: f9929cd = 24: cca9a8e hash-object: demonstrate a >4GB/LLP64 problem
10: ea01b02 = 25: a3a6422 git-compat-util: avoid redeclaring _DEFAULT_SOURCE
38: e2d5326 = 26: 01fe138 cmake(): allow setting HOST_CPU for cross-compilation
39: 52c5987 ! 27: 4fdd5db object-file.c: use size_t for header lengths
11: a712529 = 28: 75820b6 Import the source code of mimalloc v2.2.7
41: e4e70be = 29: d3c884c CMake: default Visual Studio generator has changed
42: fc847b1 = 30: 0b2230b hash algorithms: use size_t for section lengths
13: d297957 = 31: 8a4d103 mimalloc: adjust for building inside Git
44: bc17fbf = 32: 31587e6 mingw: demonstrate a
git addissue with NTFS junctions45: 62736c8 = 33: 53b2101 .gitignore: add Visual Studio CMakeSetting.json file
46: 181ac39 = 34: aba1205 hash-object --stdin: verify that it works with >4GB/LLP64
15: b113f1f = 35: 1733393 mimalloc: offer a build-time option to enable it
48: 5b7673a = 36: 5e1e746 t5505/t5516: allow running without
.git/branches/in the templates49: 387fddb = 37: ebe808d strbuf_realpath(): use platform-dependent API if available
50: a9a7f69 = 38: 87de6d0 http: use new "best effort" strategy for Secure Channel revoke checking
51: 45ae486 = 39: 461d209 subtree: update
contrib/subtreetesttarget52: 159956b = 40: ddff42e CMakeLists: add default "x64-windows" arch for Visual Studio
53: 338b393 = 41: 752c364 hash-object: add another >4GB/LLP64 test case
54: dfc86ee = 42: 60ec10f setup: properly use "%(prefix)/" when in WSL
55: 5eb1496 = 43: d150ca2 Add config option
windows.appendAtomically18: c0a2bde = 44: e90e8a2 mingw: use mimalloc
57: 7a4dc61 = 45: 8dd0fee t5505/t5516: fix white-space around redirectors
58: cfff211 = 46: 7b8d8b5 MinGW: link as terminal server aware
22: 2e4f689 = 47: 110c415 transport: optionally disable side-band-64k
23: c37e5a8 = 48: 684729d mingw: fix fatal error working on mapped network drives on Windows
59: 118638a = 49: 9c3cb62 clink.pl: fix MSVC compile script to handle libcurl-d.lib
60: d4c6542 = 50: 22baded mingw: implement a platform-specific
strbuf_realpath()61: 7f1e949 = 51: 98fd173 t3701: verify that we can add lots of files interactively
62: b502904 = 52: 7574c91 commit: accept "scissors" with CR/LF line endings
63: a5357aa = 53: b53656f t0014: fix indentation
64: f86230f = 54: c1b4dd4 git-gui: accommodate for intent-to-add files
65: 1b7ff99 = 55: 0652d00 mingw: allow for longer paths in
parse_interpreter()66: 4757200 = 56: b807d1b compat/vcbuild: document preferred way to build in Visual Studio
67: 71a0ce5 = 57: 1af3dec http: optionally send SSL client certificate
68: 3f5413c = 58: 7eb85a4 ci: run
contrib/subtreetests in CI builds69: 8d068cd = 59: f98f30f CMake: show Win32 and Generator_platform build-option values
70: 1ae606c = 60: 58bccec hash-object: add a >4GB/LLP64 test case using filtered input
71: 392cf7e = 61: d3a4eae compat/mingw.c: do not warn when failing to get owner
72: 43ddcc4 = 62: bbb1fa4 mingw: $env:TERM="xterm-256color" for newer OSes
73: 1fa380f = 63: b7f0184 winansi: check result and Buffer before using Name
74: fbe885d = 64: 4f06f5d mingw: change core.fsyncObjectFiles = 1 by default
75: ad11b36 = 65: a8433e5 Fix Windows version resources
76: 7a5721b = 66: 8b5e432 status: fix for old-style submodules with commondir
26: c8ea3ae = 67: 74fc09c windows: skip linking
git-<command>for built-ins28: 356f8ff = 68: 1d2fa87 mingw: stop hard-coding
CC = gcc30: 2a59894 = 69: 6c629b3 mingw: drop the -D_USE_32BIT_TIME_T option
32: 03dc03b = 70: 116347c mingw: only use -Wl,--large-address-aware for 32-bit builds
34: 4c9a91f = 71: 6e39129 mingw: avoid over-specifying
--pic-executable37: 57add01 = 72: f765afd mingw: set the prefix and HOST_CPU as per MSYS2's settings
40: 5b3e283 = 73: 849f69c mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
43: d947f84 = 74: 04c9fe6 mingw: rely on MSYS2's metadata instead of hard-coding it
47: 6482eba = 75: 1a5a5eb mingw: always define
ETC_*for MSYS2 environments56: d04f5df = 76: 4ba290e max_tree_depth: lower it for clang builds in general on Windows
77: f78cbe6 = 77: c22c73f mingw: ensure valid CTYPE
78: 783f8e8 = 78: 4dcf14e ci: work around a problem with HTTP/2 vs libcurl v8.10.0
79: d0622c2 = 79: ea00808 mingw: allow
git.exeto be used instead of the "Git wrapper"80: 9b68b95 = 80: 8b59b36 revision: create mark_trees_uninteresting_dense()
81: 8abb960 = 81: e56925e mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system directory
82: 80537e2 = 82: 73fd10d survey: stub in new experimental 'git-survey' command
83: 3ad7369 = 83: 0d1f2e1 Merge branch 'dscho-avoid-d-f-conflict-in-vs-master'
84: 4fda7f3 = 84: 4bb31c7 survey: add command line opts to select references
85: 366b63a = 85: 675f0f6 clink.pl: fix libexpatd.lib link error when using MSVC
86: edbc08a = 86: 65bb0a6 survey: start pretty printing data in table form
87: 96123ba = 87: f3b2e93 Makefile: clean up .ilk files when MSVC=1
88: d9fc44c = 88: 9dc8a65 survey: add object count summary
89: 15e9431 = 89: c1218b2 vcbuild: add support for compiling Windows resource files
90: 6f34496 = 90: 8c9a377 survey: summarize total sizes by object type
91: 7dd18ac = 91: 1644441 config.mak.uname: add git.rc to MSVC builds
92: 0feb5ea = 92: 6fc5d72 survey: show progress during object walk
93: d235550 = 93: 559e42c mingw: make sure
errnois set correctly when socket operations fail95: 932a460 = 94: adb34a0 clink.pl: ignore no-stack-protector arg on MSVC=1 builds
96: 0d56142 = 95: dbabed8 http: optionally load libcurl lazily
97: f2a7fe9 = 96: 61a029b survey: add ability to track prioritized lists
98: a214a79 = 97: cb76559 compat/mingw: handle WSA errors in strerror
99: 17bfd41 = 98: fafbc95 t5563: verify that NTLM authentication works
101: e169f62 = 99: 12d1827 clink.pl: move default linker options for MSVC=1 builds
102: 26e9c7f = 100: f480d3d http: support lazy-loading libcurl also on Windows
103: 7ef9216 = 101: cf60a92 survey: add report of "largest" paths
104: bc6d6ae = 102: 3db1ed5 compat/mingw: drop outdated comment
105: a61bada = 103: 373fc5b http: disallow NTLM authentication by default
107: f14f2b4 = 104: a278bd0 cmake: install headless-git.
108: 8d13652 = 105: 1ad08c2 http: when loading libcurl lazily, allow for multiple SSL backends
109: e1f09b0 = 106: 1ae0ff7 survey: add --top= option and config
110: 5773617 = 107: 72e9d9d t0301: actually test credential-cache on Windows
111: 675cf4d = 108: 9f3207b http: warn if might have failed because of NTLM
113: 8b52447 = 109: 3b90218 git.rc: include winuser.h
114: bbbd51a = 110: bb68924 mingw: do load libcurl dynamically by default
115: 3e5cfc9 = 111: 7c7e3e7 Add a GitHub workflow to verify that Git/Scalar work in Nano Server
116: 86183e8 = 112: 07fb88e mingw: suggest
windows.appendAtomicallyin more cases117: 92e411a = 113: ab3f69b win32: use native ANSI sequence processing, if possible
118: 866ad6a = 114: e47ddf7 common-main.c: fflush stdout buffer upon exit
119: e7a96c9 = 115: 05b965a t5601/t7406(mingw): do run tests with symlink support
120: 832a3fd = 116: ae85ca2 win32: ensure that
localtime_r()is declared even in i686 builds121: 44e0526 = 117: 57b0eba Fallback to AppData if XDG_CONFIG_HOME is unset
122: 8cbf444 = 118: 8ead0db run-command: be helpful with Git LFS fails on Windows 7
123: edfcea3 = 119: 7833200 survey: clearly note the experimental nature in the output
124: 9bbd644 = 120: 16e75ca credential-cache: handle ECONNREFUSED gracefully
125: 5891457 = 121: 395c732 reftable: do make sure to use custom allocators
126: b69d277 = 122: ffb4d5c check-whitespace: avoid alerts about upstream commits
127: 459b548 = 123: dd3f142 t/t5571-prep-push-hook.sh: Add test with writing to stderr
128: f31787d = 124: 4e4f34c credential: advertise NTLM suppression and allow helpers to re-enable
94: b248eb1 = 125: cbdb596 Merge 'remote-hg-prerequisites' into HEAD
100: fd61a41 = 126: e9865ff Merge branch 'drive-prefix'
106: 5545e90 = 127: b45685e Merge branch 'dont-clean-junctions'
112: b5bcf6b = 128: 9a8960f Merge branch 'msys2-python'
130: 8a3696d = 129: 39dfcf6 Update mimalloc to v2.2.7 (Update mimalloc to v2.2.7 git#6048)
131: 63e00fa = 130: 5f08785 Merge pull request Config option to disable side-band-64k for transport git#2375 from assarbad/reintroduce-sideband-config
132: beadfa0 = 131: 1fc80b6 Merge pull request mingw: fix fatal error working on mapped network drives on Windows git#2488 from bmueller84/master
133: 25757bd = 132: 4696f3a Merge pull request clink.pl: fix MSVC compile script to handle libcurl-d.lib git#2501 from jeffhostetler/clink-debug-curl
134: 65894b9 = 133: 734bca6 Merge pull request Handle
git add <file>where <file> traverses an NTFS junction git#2504 from dscho/access-repo-via-junction135: 54e44ab = 134: 963d542 Merge pull request Introduce and use the new "best effort" strategy for Secure Channel revoke checking git#2535 from dscho/schannel-revoke-best-effort
136: 43d7e8d = 135: f23c07e Merge pull request ci: avoid d/f conflict in vs/master git#2618 from dscho/avoid-d/f-conflict-in-vs/master
137: b7b5156 = 136: 295234d Merge 'add-p-many-files'
138: 1540330 = 137: c19b7ce Merge pull request Rationalize line endings for scissors-cleanup git#2714 from lbonanomi/crlf-scissors
139: 50e7abf = 138: bab78c9 Merge pull request t/t0014: fix: eliminate additional lines from trace git#2655 from jglathe/jg/t0014_trace_extra_info
140: 1470a83 = 139: 8ef651f Merge 'git-gui/js/intent-to-add'
141: 286736b = 140: f7c3430 Merge pull request Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs git#2351 from PhilipOakley/vcpkg-tip
142: 37c9f86 = 141: 56f9126 Merge pull request Windows arm64 support git#2915 from dennisameling/windows-arm64-support
143: 1f543d9 = 142: 529212b Merge pull request cmake(): allow setting HOST_CPU for cross-compilation git#3327 from dennisameling/fix-host-cpu
144: 8f5983f = 143: b1b171b Merge pull request mingw: allow for longer paths in
parse_interpreter()git#3165 from dscho/increase-allowed-length-of-interpreter-path145: 2a2d63c = 144: 4bfc124 Merge pull request Let the documentation reflect that there is no vs/master anymore git#3220 from dscho/there-is-no-vs/master-anymore
146: 3ce18dc = 145: e0b7e29 Merge pull request http: Add support for enabling automatic sending of SSL client certificate git#3293 from pascalmuller/http-support-automatically-sending-client-certificate
147: 4f95145 = 146: 73bfb1a Merge pull request Add
contrib/subtreetest execution to CI builds git#3349 from vdye/feature/ci-subtree-tests148: 62e45ba = 147: 405fe07 Merge pull request Make Git for Windows start builds in modern Visual Studio git#3306 from PhilipOakley/vs-sln
149: dbaa72c = 148: 338227c Merge pull request Begin
unsigned long->size_tconversion to support large files on Windows git#3533 from PhilipOakley/hashliteral_t150: cf7bdb6 = 149: 1b23d4d Merge pull request Various fixes around
safe.directorygit#3791: Various fixes aroundsafe.directory151: 0edd3aa = 150: bb6cb61 Merge pull request mingw: set $env:TERM=xterm-256color for newer OSes git#3751 from rkitover/native-term
152: 549e177 = 151: aa4df52 Merge pull request winansi: check result before using Name for pty git#3875 from 1480c1/wine/detect_msys_tty
153: 42efe29 = 152: c2e6aeb Merge branch 'optionally-dont-append-atomically-on-windows'
154: 6393109 = 153: 880e0aa Merge branch 'fsync-object-files-always'
129: fe4a23f = 154: 85d5f72 dir: do not traverse mount points
155: 601edeb = 155: 8969f51 Merge pull request MinGW: link as terminal server aware git#3942 from rimrul/mingw-tsaware
156: c586854 = 156: 26c2c07 Fix Windows version resources (Fix Windows version resources git#4092)
157: 6c7d82f = 157: 1d5cd8d Fix global repository field not being cleared (Fix global repository field not being cleared git#4083)
158: c99622b = 158: d341775 Skip linking the "dashed"
git-<command>s for built-ins (Skip linking the "dashed"git-<command>s for built-ins git#4252)159: 8da786e = 159: 288a3db Add full
mingw-w64-git(i.e. regular MSYS2 ecosystem) support (Add fullmingw-w64-git(i.e. regular MSYS2 ecosystem) support git#5971)160: 377fd7a = 160: 96d34c4 Merge pull request Allow running Git directly from
C:\Program Files\Git\mingw64\bin\git.exegit#2506 from dscho/issue-2283161: 0288bab = 161: ea641ec Merge pull request Include Windows-specific maintenance and headless-git git#2974 from derrickstolee/maintenance-and-headless
162: 586ff5a = 162: 7b05da0 ARM64: Embed manifest properly (ARM64: Embed manifest properly git#4718)
163: 03c1abf = 163: 3978aa7 Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl (Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl git#4410)
164: 00a60ea = 164: 64d5214 Merge branch 'nano-server'
165: 71280e5 = 165: 9de4abd Additional error checks for issuing the windows.appendAtomically warning (Additional error checks for issuing the windows.appendAtomically warning git#4528)
166: f722ded = 166: f85eb86 win32: use native ANSI sequence processing, if possible (win32: use native ANSI sequence processing, if possible git#4700)
167: 6ec49e0 = 167: 191bbfd common-main.c: fflush stdout buffer when exit (common-main.c: fflush stdout buffer when exit git#4901)
168: d6455e6 = 168: f497474 Merge branch 'run-t5601-and-t7406-with-symlinks-on-windows-10'
169: 295a8b1 = 169: c805aa0 Merge branch 'Fix-i686-build-with-GCC-v14'
170: b69a3b0 = 170: e8f1800 Merge branch 'Fallback-to-AppData-if-XDG-CONFIG-HOME-is-unset'
171: 3d80a7d = 171: 0abd5a1 Merge branch 'run-command-be-helpful-when-Git-LFS-fails-on-Windows-7'
172: 305fb2a = 172: 00f28f3 pack-objects: create new name-hash algorithm (pack-objects: create new name-hash algorithm git#5157)
173: a6752ed = 173: 083f6b9 Add path walk API and its use in 'git pack-objects' (Add path walk API and its use in 'git pack-objects' git#5171)
174: c97990c = 174: e697d96 Add experimental 'git survey' builtin (Add experimental 'git survey' builtin git#5174)
175: 80a9d01 = 175: fbc867a credential-cache: handle ECONNREFUSED gracefully (credential-cache: handle ECONNREFUSED gracefully git#5329)
176: 548b9b0 = 176: 50c4412 Merge branch 'reftable-vs-custom-allocators'
177: f017a1c = 177: 9694652 Merge branch 'check-whitespace-only-downstream'
178: ba77340 = 178: 3a1c062 t/t5571-prep-push-hook.sh: Add test with writing to stderr (t/t5571-prep-push-hook.sh: Add test with writing to stderr git#6063)
179: 7d58016 = 179: 9e4a7b7 Merge branch 'disallow-ntlm-auth-by-default'
180: 678b878 = 180: 123a480 Don't traverse mount points in
remove_dir_recurse()(Don't traverse mount points inremove_dir_recurse()git#6151)181: 507beb8 = 181: da2b45f Merge branch 'ready-for-upstream'
182: 751bc4d = 182: c9209f8 ci(macos): skip the
git p4tests183: 967cc87 = 183: cdf6996 ci(macos): skip the
git p4tests (ci(macos): skip thegit p4tests git#5954)188: cebf0c3 = 184: 83e4f3a git-gui--askyesno: fix funny text wrapping
190: 5ffdd30 = 185: 09a4187 git-gui--askyesno (mingw): use Git for Windows' icon, if available
184: 86a2d18 = 186: fc5f1f0 Win32: make FILETIME conversion functions public
185: e3f8faa = 187: 8fb9fff Win32: dirent.c: Move opendir down
186: 8c32879 = 188: e5c0f7c mingw: make the dirent implementation pluggable
187: 686bcaa = 189: da38f15 Win32: make the lstat implementation pluggable
189: bb186c1 = 190: 9f038e7 mingw: add infrastructure for read-only file system level caches
191: a261db8 = 191: 402c883 mingw: add a cache below mingw's lstat and dirent implementations
193: eafc9cf = 192: a701465 fscache: load directories only once
194: 4cfa3b2 = 193: 9a3cb88 fscache: add key for GIT_TRACE_FSCACHE
195: 51a8a02 = 194: 66e87d9 fscache: remember not-found directories
196: 7b5c882 = 195: 643b774 fscache: add a test for the dir-not-found optimization
197: b9f9474 = 196: e208809 add: use preload-index and fscache for performance
198: 5177537 = 197: 790ed0e dir.c: make add_excludes aware of fscache during status
199: 4df4a92 = 198: f4038de fscache: make fscache_enabled() public
200: de4242e = 199: e59f224 dir.c: regression fix for add_excludes with fscache
201: 5eaf59f = 200: cbb87bc fetch-pack.c: enable fscache for stats under .git/objects
202: 9db7285 = 201: 3ccc050 checkout.c: enable fscache for checkout again
203: 82eae66 = 202: 663854f Enable the filesystem cache (fscache) in refresh_index().
204: f14a172 = 203: ae50697 fscache: use FindFirstFileExW to avoid retrieving the short name
205: 14c1656 = 204: e3d8ef0 fscache: add GIT_TEST_FSCACHE support
206: 86ca989 = 205: 829e1aa fscache: add fscache hit statistics
207: 04a66c8 = 206: 5d4cea0 unpack-trees: enable fscache for sparse-checkout
208: 351f490 = 207: 73caa5c status: disable and free fscache at the end of the status command
209: 95491ce = 208: f0f0a20 mem_pool: add GIT_TRACE_MEMPOOL support
210: e518111 = 209: 3eae7df fscache: fscache takes an initial size
211: bf695d2 = 210: dc76b2b fscache: update fscache to be thread specific instead of global
212: 5e3277f = 211: 336da49 fscache: teach fscache to use mempool
213: 16ebe8d = 212: ede2248 fscache: make fscache_enable() thread safe
214: ec60b5e = 213: 9af7e6a fscache: teach fscache to use NtQueryDirectoryFile
215: 5a695b5 = 214: ea6bf90 fscache: remember the reparse tag for each entry
216: 0a9fd31 = 215: d37558f Merge branch 'fscache'
217: db284ee = 216: 2ef5335 fscache: implement an FSCache-aware is_mount_point()
218: b1abd9c = 217: 0c28619 Merge pull request status: disable and free fscache at the end of the status command git#1909 from benpeart/free-fscache-after-status-gfw
219: e311a0a = 218: 9d51cf5 clean: make use of FSCache
220: 9fc719f = 219: 823d922 Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
221: f059bb3 = 220: f05b57c Merge branch 'dont-clean-junctions-fscache'
222: 314e225 = 221: c6a99da pack-objects (mingw): demonstrate a segmentation fault with large deltas
223: 76f2241 = 222: 3b6db80 mingw: support long paths
224: c506b36 = 223: 06de18d win32(long path support): leave drive-less absolute paths intact
225: 068e1b5 = 224: 9fc84bc compat/fsmonitor/fsm-*-win32: support long paths
226: 4c072d4 = 225: 55d0551 clean: suggest using
core.longPathsif paths are too long to remove227: bfc6065 = 226: 038f3e5 mingw: Support
git_terminal_promptwith more terminals228: e76513e = 227: 4b8d033 compat/terminal.c: only use the Windows console if bash 'read -r' fails
229: a12e92a = 228: 43ffc90 mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
230: 51ea834 = 229: 3d70a88 Win32: symlink: move phantom symlink creation to a separate function
231: ceeda72 = 230: bdc8796 Introduce helper to create symlinks that knows about index_state
232: 178cee2 = 231: e63a1f0 mingw: allow to specify the symlink type in .gitattributes
242: 0e3421a = 232: 32c7312 mingw: introduce code to detect whether we're inside a Windows container
233: eb964da = 233: 7e2b7aa Win32: symlink: add test for
symlinkattribute244: 213b079 = 234: 773c8c7 mingw: when running in a Windows container, try to rename() harder
234: 3ed4001 = 235: ab3b0a8 mingw: explicitly specify with which cmd to prefix the cmdline
246: 3a52051 = 236: d587df3 mingw: move the file_attr_to_st_mode() function definition
235: 557ee12 = 237: c5d2006 mingw: when path_lookup() failed, try BusyBox
248: 51b1b22 = 238: 5c32841 mingw: Windows Docker volumes are not symbolic links
236: 83dd2d3 = 239: 3d3d9d9 test-tool: learn to act as a drop-in replacement for
iconv192: 0743257 = 240: ec3db9e Merge branch 'git-gui-askyesno'
250: f2d238d = 241: b3c27bc mingw: work around rename() failing on a read-only file
237: e211ed3 = 242: 85e7069 tests(mingw): if
iconvis unavailable, usetest-helper --iconv238: 18f5dbd = 243: 19bfceb gitattributes: mark .png files as binary
239: f51203a = 244: 60bf29c tests: move test PNGs into t/lib-diff/
240: c0e64e3 = 245: 8806f41 tests: only override sort & find if there are usable ones in /usr/bin/
241: 89a7bb3 = 246: 4cfe8c3 tests: use the correct path separator with BusyBox
243: 5c1123e = 247: 192c151 mingw: only use Bash-ism
builtin pwd -Wwhen available245: eadd2a5 = 248: fc31e51 tests (mingw): remove Bash-specific pwd option
247: 60d1e00 = 249: 73ff4c7 test-lib: add BUSYBOX prerequisite
251: e60186b = 250: fc1f7bb Merge branch 'gitk-and-git-gui-patches'
249: 46938ce = 251: 886fd89 t5003: use binary file from t/lib-diff/
252: 96a2cfd = 252: 4579392 Merge branch 'long-paths'
253: 2576a89 = 253: 03f3ace t5532: workaround for BusyBox on Windows
254: 4da2771 = 254: dbf4ce5 Merge branch 'msys2'
261: bff51a2 = 255: 7d441d2 Describe Git for Windows' architecture [no ci]
255: 769b098 = 256: 6e381c0 t5605: special-case hardlink test for BusyBox-w32
256: 487bf86 = 257: 51f879f Merge 'docker-volumes-are-no-symlinks'
265: 2f1e3c4 = 258: 111284e Modify the Code of Conduct for Git for Windows
257: 8e7e368 = 259: f0d4781 t5813: allow for $PWD to be a Windows path
258: f2a2d85 = 260: f1f8aff mingw: try resetting the read-only bit if rename fails (Reset READONLY if rename fails git#4527)
268: c97b2d4 = 261: 16f119d CONTRIBUTING.md: add guide for first-time contributors
259: afdb8c4 = 262: d2e9190 t9200: skip tests when $PWD contains a colon
260: fa61be6 = 263: 8f40f8f Merge pull request Specify symlink type in .gitattributes git#1897 from piscisaureus/symlink-attr
271: 74114b7 = 264: d79353f README.md: Add a Windows-specific preamble
262: b3f2c1b = 265: 87d4396 mingw: kill child processes in a gentler way
263: ce8c8e6 = 266: 8d9b9dc mingw: optionally enable wsl compability file mode bits
264: 716b8bf = 267: 3520f1d Merge branch 'busybox-w32'
274: 6066dd4 = 268: 45fc8ea Add an issue template
266: 4c8d628 = 269: 995c08f mingw: really handle SIGINT
267: 233b242 = 270: 59c1ffc Merge branch 'wsl-file-mode-bits'
275: 85b9fa8 = 271: 1520609 Add a GitHub workflow to monitor component updates
278: 13c1678 = 272: df218c9 Modify the GitHub Pull Request template (to reflect Git for Windows)
269: 5562cfd = 273: d8a1d3d Partially un-revert "editor: save and reset terminal after calling EDITOR"
270: 07b690b = 274: 7b4132a Merge pull request Handle Ctrl+C in Git Bash nicely git#1170 from dscho/mingw-kill-process
272: 8d191c5 = 275: 1e363b5 reset: reinstate support for the deprecated --stdin option
276: a898107 = 276: e343e65 fsmonitor: reintroduce core.useBuiltinFSMonitor
279: e1e208c = 277: f7e9e42 dependabot: help keeping GitHub Actions versions up to date
281: 1363c96 = 278: 290bfd1 SECURITY.md: document Git for Windows' policies
273: 554896c = 279: 72c4900 Merge branch 'un-revert-editor-save-and-reset'
277: 2d3eb8a = 280: f4b8f7b Merge branch 'phase-out-reset-stdin'
280: d095c10 = 281: 0b97d7e Merge branch 'deprecate-core.useBuiltinFSMonitor'
282: 68b1244 = 282: 3e72712 Merge pull request Start monitoring updates of Git for Windows' components in the open git#2837 from dscho/monitor-component-updates
283: dc1a52c = 283: 8d2750e Merge 'readme' into HEAD
284: 8aeb81f = 284: 14b0fc7 Detect number of cores better on multi-socket systems (Detect number of cores better on multi-socket systems git#6108)