diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2025-08-03 21:25:16 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-08-03 18:30:38 -0700 |
commit | ce6ccbaf92ec41743d83c386cad4dba77f768f13 (patch) | |
tree | 6c903798583c42c66b2fba677d52670854b9dfb6 /t/chainlint/bash-array.test | |
parent | 5f277fc5f25dc0fb54aa42bad62c23325bab9200 (diff) |
mingw: drop Windows 7-specific work-around
In ac33519ddfa8 (mingw: restrict file handle inheritance only on Windows
7 and later, 2019-11-22), I introduced code to safe-guard the
defense-in-depth handling that restricts handles' inheritance so that it
would work with Windows 7, too.
Let's revert this patch: Git for Windows dropped supporting Windows 7 (and
Windows 8) directly after Git for Windows v2.46.2. For full details, see
https://gitforwindows.org/requirements#windows-version.
Actually, on second thought: revert only the part that makes this handle
inheritance restriction logic optional and that suggests to open a bug
report if it fails, but keep the fall-back to try again without said
logic: There have been a few false positives over the past few years
(where the warning was triggered e.g. because Defender was still
accessing a file that Git wanted to overwrite), and the fall-back logic
seems to have helped occasionally in such situations.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/chainlint/bash-array.test')
0 files changed, 0 insertions, 0 deletions