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

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

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Nov 17, 2022, 01:24 UTC
Message-ID
<Y3WNYNjos+2996jb@tapette.crustytoothpaste.net>
In-Reply-To
<CANNdkQZByT6dAiAJ=yrQshBi9suDUV2Xum2TtAGyJDKxb3f5QQ@mail.gmail.com>
Hey,
On 2022-11-16 at 18:36:27, David Hary wrote:
Show 19 quoted lines
> :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’

This list mostly discusses the portable upstream version of Git that works across systems. Any sort of custom Windows patches or Windows integration, such as interaction with the registry, should be reported to the Git for Windows project on their issue tracker:

https://github.com/git-for-windows/git

You might search first to see if someone has already reported this. In any event, as the folks providing this integration, they'd be the ones best suited to fix it.

Hope this helps.
-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
Previous: David HaryNext: Johannes Schindelin
Message 2 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.