From 11ba6f483d75f95c67bad0e1bcc73870ee688c40 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 3 Feb 2026 09:42:58 +0100 Subject: [PATCH 1/2] git: fix the `pkgver` In 363b1e7913 (git: drop the commit hash from pkgver for MSYS2 compatibility, 2025-11-14), I dropped the auto-updating logic of `pkgver`, forgetting that Git for Windows' automation would not update that line. As a consequence, the Pacman packages built as part of Git for Windows' v2.53.0 release process incorrectly reference the previous pkgver and the Git for Windows SDKs do not enjoy the update. Let's fix that by switching to a Bash'ism (which is fine, given that `makepkg` contains _so many_ Bash'isms that it is highly implausible that it will ever work with any other Unix shell). Signed-off-by: Johannes Schindelin --- mingw-w64-git/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-git/PKGBUILD b/mingw-w64-git/PKGBUILD index 33853ab7adad5..959bb8dff6713 100644 --- a/mingw-w64-git/PKGBUILD +++ b/mingw-w64-git/PKGBUILD @@ -18,7 +18,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}" "${MINGW_PACKAGE_PREFIX}-${_realname}-gui" "${MINGW_PACKAGE_PREFIX}-${_realname}-for-windows-addons") tag=2.53.0.windows.1 -pkgver=2.52.0.1 +pkgver=${tag/.windows./.} pkgrel=1 pkgdesc="The fast distributed version control system (mingw-w64)" arch=('any') From 52bfcf05d90511c71fc949d7afea50af65a8f563 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 3 Feb 2026 10:46:52 +0100 Subject: [PATCH 2/2] git: bump pkgrel By mistake, the Pacman packages generated as part of Git for Windows' v2.53.0 release process contain the previous version number, and are therefore not picked up by `pacman -Syu`. Let's just rebuild and deploy the package, but with an incremented pkgrel so that it is obvious why the executables contained in that package differ from the ones in the official Git for Windows release. Signed-off-by: Johannes Schindelin --- mingw-w64-git/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-git/PKGBUILD b/mingw-w64-git/PKGBUILD index 959bb8dff6713..40e8a53e6abd6 100644 --- a/mingw-w64-git/PKGBUILD +++ b/mingw-w64-git/PKGBUILD @@ -19,7 +19,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}" "${MINGW_PACKAGE_PREFIX}-${_realname}-for-windows-addons") tag=2.53.0.windows.1 pkgver=${tag/.windows./.} -pkgrel=1 +pkgrel=2 pkgdesc="The fast distributed version control system (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')