git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Issue: Git for Windows: : Incorrect registry entries for the Git Bash and Git Gui

From
DHDavid Hary <davidhary@gmail.com>
Date
Nov 16, 2022, 18:36 UTC
Message-ID
<CANNdkQZByT6dAiAJ=yrQshBi9suDUV2Xum2TtAGyJDKxb3f5QQ@mail.gmail.com>
:Observation: Incorrect registry entries for the Git Bash and Git Gui
Likely Cause: the registry entries do not update when updating Git
How to reproduce:
1. install git as a personal level user; git goes to c:\apps
2. Change user level to admin;
3. Update git; git files move to c:\program files;
4. Try git bash or git gui from the File Explorer context menu; both fail.

How was this discovered: Having had some issues with android emulation for visual studio, I changed my user account from personal to admin. When updating, Git got installed under ‘c:\Program Files‘ instead of c:\apps. Yet, the command lines for Git Bash and Git Gui as recorded in the registry were still pointing to the c:\apps folder causing the explorer context menu shortcut to fail.

Workaround: edit the register changing ‘c:\apps’ to ‘c:\program files’
David

David Hary, PhD President Integrated Scientific Resources, Inc. +1(310)453-6809

Next: brian m. carlson
Message 1 of 3 in “Issue: Git for Windows: : Incorrect registry entries for the Git Bash and Git Gui”
  1. David HaryNov 16, 2022
  2. brian m. carlsonNov 17, 2022
  3. Johannes SchindelinNov 20, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.