Git: Git for Windows icon missing in 2.10.0

Created on 3 Sep 2016  Â·  12Comments  Â·  Source: git-for-windows/git

  • [x] I was not able to find an open
    or closed issue
    matching what I'm seeing

    Setup

  • Which version of Git for Windows are you using? 32-bit or 64-bit? Include the
    output of git version as well.

$ git --version --build-options
git version 2.10.0.windows.1
sizeof-long: 4
machine: x86_64
  • What options did you set as part of the installation? Or did you choose the
    defaults?

Select Components: only select Windows Explorer integration - Git Bash Here
PATH: Use Git from the Windows Command Prompt
core.autocrlf: true
Terminal: MinTTY
Extra: Enable file-system caching

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

    Bash

  • What commands did you run to trigger this issue? If you can provide a
    Minimal, Complete, and Verifiable example
    this will help us understand the issue.
Right click a directory in Windows Explorer. `Git Bash` is present but the icon is missing.
  • What did you expect to occur after running these commands?

C:\Program Files\Git\mingw64\share\git\git-for-windows.ico file exists after install.

  • What actually happened instead?

C:\Program Files\Git\mingw64\share\git\git-for-windows.ico is missing

bug sdk-packages

Most helpful comment

Let's wait a couple of days to see whether other bugs show up, before releasing v2.10.0(2).

Please use +1/-1 reactions on this comment to vote whether I should release a new version even if the missing icon should turn out to be the only major bug.

All 12 comments

Yes - the icon file is definitely missing from the 64-bit download.

WORKAROUND:

Don't know what else might be missing - your probably safer downloading Git-2.9.3.2-xx-bit.exe from section Git for Windows 2.9.3(2) in https://github.com/git-for-windows/git/releases/.

Alternatively, you could try unziping and copy the attached file (git-for-windows.zip) to "C:\Program Files\Git\mingw64\sharegitgit-for-windows.ico". I have not tested this but it might work.

git-for-windows.zip

Yep, the file was removed by mistake. However there is no good reason to suggest a downgrade or to download a .zip.

The best workaround is to download the .ico directly from Git for Windows' repository: https://raw.githubusercontent.com/git-for-windows/MINGW-packages/636d775bde99e91f66071c84592ead18be6ad359/mingw-w64-git/git-for-windows.ico and move it to C:\Program Files\Git\mingw64\share\git.

Let's wait a couple of days to see whether other bugs show up, before releasing v2.10.0(2).

Please use +1/-1 reactions on this comment to vote whether I should release a new version even if the missing icon should turn out to be the only major bug.

The pre-release fixed the problem for me (Windows 7 64 bit). Thanks!

@dscho The prerelease installer works if I "Run as Administrator", but it's unhappy with me if I run it as a normal user (and also completely borks my existing Git installation):

image

As a note, I do get a UAC prompt in the middle of the process when I click "Install" on the "Configuring extra options" page, which is when it raises the above error and borks Git when it "rolls back the installation".

$ git --version --build-options
git version 2.10.0.windows.1
sizeof-long: 4
machine: x86_64

$ cat /etc/install-options.txt
Path Option: BashOnly
SSH Option: OpenSSH
CRLF Option: LFOnly
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled

edit: delete source files

he prerelease installer works if I "Run as Administrator", but it's unhappy with me if I run it as a normal user (and also completely borks my existing Git installation)

@sxlijin that typically happens if you installed the previous version as administrator.

@manolenso please do not suggest to download random .zip files from untrusted sources. The proper work-around _really_ is to download and install the pre-release: https://github.com/git-for-windows/git/releases/tag/prerelease-v2.10.0.windows.1.11.geda474c

Ok I’ll edit post.

De : Johannes Schindelin [mailto:[email protected]]
Envoyé : mardi 20 septembre 2016 16:17
À : git-for-windows/git [email protected]
Cc : LAURENT Rémy [email protected]; Mention [email protected]
Objet : Re: [git-for-windows/git] Git for Windows icon missing in 2.10.0 (#870)

@manolensohttps://github.com/manolenso please do not suggest to download random .zip files from untrusted sources. The proper work-around really is to download and install the pre-release: https://github.com/git-for-windows/git/releases/tag/prerelease-v2.10.0.windows.1.11.geda474c

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/git-for-windows/git/issues/870#issuecomment-248314456, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADEQTgvy2i0HbpEDFTD7Jnq92adgHzUtks5qr-rpgaJpZM4J0SDp.

@dscho another slight problem: if I uninstall 2.10.0.windows.1.11.geda474c after installing it as an Administrator, the %PROGRAMFILES%/Git folder gets left behind, which makes the local user installer default to %PROGRAMFILES%/Git for an install location. I don't have this issue with version 2.10.0.windows.1.

@sxlijin if this problem persists with v2.10.1, please open a new ticket with a detailed report. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Unknow0059 picture Unknow0059  Â·  3Comments

yegorich picture yegorich  Â·  3Comments

0x7cc picture 0x7cc  Â·  4Comments

daxelrod picture daxelrod  Â·  4Comments

dlk-pavan picture dlk-pavan  Â·  4Comments