From 5a237939ee91e51783ea5cb6d9218cdf07a99351 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sat, 28 Feb 2026 17:33:39 +0100 Subject: [PATCH 1/3] NEWS: mingw git --- web/news.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/web/news.md b/web/news.md index c1dbc34a..890c392d 100644 --- a/web/news.md +++ b/web/news.md @@ -5,6 +5,32 @@ summary: Important events happening. This page lists important changes or issues affecting MSYS2 users. You can [:material-rss: subscribe via RSS](../news.xml). We also post them to [Mastodon](https://fosstodon.org/@msys2org) / [Bluesky](https://bsky.app/profile/msys2org.bsky.social), including some not-so-important things :) +### 2026-02-28 - Native Git Now Available in MSYS2 + +We are pleased to announce that MSYS2 now includes a [native MinGW build of +Git](https://packages.msys2.org/base/mingw-w64-git) alongside the existing +Cygwin-based version. This means that there is no need to install ['Git for +Windows'](https://gitforwindows.org) and integrate it into MSYS2 manually; it +can simply be installed using pacman. We have also adjusted the dependencies of +all our native packages to depend on MinGW Git over the Cygwin version wherever +possible. + +This is made possible thanks to the hard work of the ['Git for Windows' +team](https://github.com/orgs/git-for-windows/people), who made various changes +in both projects, to make it possible to package their MinGW port of git and +easily keep it in sync going forward. If you encounter any issues, please report +them to us first before contacting the 'Git for Windows' team. + +For comparison, some quick and unscientific benchmarks for a local clone of the +[GCC repo](https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git): + +| Operation | Cygwin Git | MinGW Git | +|--------------------------|------------|-----------| +| `git status` | ~1 s | ~0.5 s | +| `git switch` (gcc 14↔15) | ~14.0 s | ~10.0 s | +| `git clone` (local) | ~45 s | ~22 s | +| `git grep` | ~2.6 s | ~0.55 s | + ### 2026-02-28 - Dropping support for Windows 8.1 As Windows 8.1 has been end-of-life (EOL) for three years, Firefox has stopped From d6a191f281e880e5ca86eedc3340570d9047d520 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sun, 1 Mar 2026 12:38:02 +0100 Subject: [PATCH 2/3] v2 --- web/news.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/web/news.md b/web/news.md index 890c392d..a0c1ddba 100644 --- a/web/news.md +++ b/web/news.md @@ -9,11 +9,7 @@ This page lists important changes or issues affecting MSYS2 users. You can [:mat We are pleased to announce that MSYS2 now includes a [native MinGW build of Git](https://packages.msys2.org/base/mingw-w64-git) alongside the existing -Cygwin-based version. This means that there is no need to install ['Git for -Windows'](https://gitforwindows.org) and integrate it into MSYS2 manually; it -can simply be installed using pacman. We have also adjusted the dependencies of -all our native packages to depend on MinGW Git over the Cygwin version wherever -possible. +Cygwin-based version. This is made possible thanks to the hard work of the ['Git for Windows' team](https://github.com/orgs/git-for-windows/people), who made various changes @@ -31,6 +27,15 @@ For comparison, some quick and unscientific benchmarks for a local clone of the | `git clone` (local) | ~45 s | ~22 s | | `git grep` | ~2.6 s | ~0.55 s | +If you were using the [hack to make 'Git for Windows' work in +MSYS2](https://gitforwindows.org/install-inside-msys2-proper.html), you might be +able to simply switch to installing git via pacman instead. This also allows you +to install native git into environments other than MINGW64, such as UCRT64 or +CLANG64. Please note that our package is not as fully integrated with Windows +like the Git for Windows installer version, and lacks some features such as the +credential manager. It's also not as widely tested yet. Please give it a try and +let us know if you encounter any issues or missing features. + ### 2026-02-28 - Dropping support for Windows 8.1 As Windows 8.1 has been end-of-life (EOL) for three years, Firefox has stopped From a2c05ae40f66470a7025ee27519c160e750eabb9 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sun, 1 Mar 2026 14:24:46 +0100 Subject: [PATCH 3/3] v3 --- web/news.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/web/news.md b/web/news.md index a0c1ddba..6076c7ea 100644 --- a/web/news.md +++ b/web/news.md @@ -28,13 +28,14 @@ For comparison, some quick and unscientific benchmarks for a local clone of the | `git grep` | ~2.6 s | ~0.55 s | If you were using the [hack to make 'Git for Windows' work in -MSYS2](https://gitforwindows.org/install-inside-msys2-proper.html), you might be -able to simply switch to installing git via pacman instead. This also allows you -to install native git into environments other than MINGW64, such as UCRT64 or -CLANG64. Please note that our package is not as fully integrated with Windows -like the Git for Windows installer version, and lacks some features such as the -credential manager. It's also not as widely tested yet. Please give it a try and -let us know if you encounter any issues or missing features. +MSYS2](https://gitforwindows.org/install-inside-msys2-proper.html), which +involves adding 'Git for Windows' repositories to pacman, you might now be able +to switch to just installing git from MSYS2's own repositories instead. This +also allows you to install native git into environments other than MINGW64, such +as UCRT64 or CLANG64. Please note that our package is not as fully integrated +with Windows like the Git for Windows installer version, and lacks some features +such as the credential manager. It's also not as widely tested yet. Please give +it a try and let us know if you encounter any issues or missing features. ### 2026-02-28 - Dropping support for Windows 8.1