git / git-scm.com

The git-scm.com website. Note that this repository is only for the website; issues with git itself should go to https://git-scm.com/community.
https://git-scm.com/
MIT License
2.19k stars 1.24k forks source link

https://git-scm.com/downloads/win 64 bit standalone binary (Git-2.47.0.2-64-bit.exe) is actually 2.47.0.1. #1914

Closed JonDeMartini closed 5 hours ago

JonDeMartini commented 5 hours ago

Which download is failing?

The web page and links are technically correct, but the contents of Git-2.47.0.2-64-bit.exe actually installs 2.47.0.1

Problem

The executable downloaded from https://github.com/git-for-windows/git/releases/download/v2.47.0.windows.2/Git-2.47.0.2-64-bit.exe actually installs 2.47.0.1 instead of 2.47.0.2 as the name would indicate.

Version 2.47.0.1 has a bug related to fetching fixed in 2.47.0.2. (https://github.com/git-for-windows/git/issues/5199)

Operating system and browser

Windows 11, Firefox

Steps to reproduce

Demonstration of problem

  1. Uninstall any currently installed version of Git on a Windows machine (test was conducted on Windows 11)
  2. Go to https://git-scm.com/downloads/win and download 64-bit Git for Windows Setup under Standalone Installer 64-bit Git for Windows Setup
  3. Install the downloaded executable
  4. Execute from Git Bash or other prompt with visibility to git: "git --version --build"
  5. Version will include the string "git version 2.47.0.windows.1"

My workaround fix:

  1. Uninstall git
  2. From powershell get latest git using "winget install --id Git.Git -e --source winget"
  3. "git --version --build" will now show "git version 2.47.0.windows.2"

Other details

No response

dscho commented 5 hours ago

Are you sure about that? I just downloaded that file, and started it. Already the title says .2:

Image

The website it opens after successful installation also says (2):

Image

Finally, running git version in Git Bash agrees, too:

Image

In short: My local attempts at reproducing the issue refute that there is a problem...

JonDeMartini commented 5 hours ago

Might have been fixed since I first notice it. But I have I binary downloaded from that link that has the issue.

JonDeMartini commented 5 hours ago

Confirm that latest linked exe installs the correct version now.

dscho commented 5 hours ago

@JonDeMartini I have a download of the same file from Oct 31 and it has the expected SHA-256 sum 83c618dcc50b63f0f7afc86a7a125169bd59559ff680683f1d915c45e05ff4cc (compare with the text shown at https://github.com/git-for-windows/git/releases/tag/v2.47.0.windows.2):

Image