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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi brian and David,

brian: thank you for redirecting the report to the Git for Windows
project.

For lurkers: the report has migrated to
https://github.com/git-for-windows/git/issues/4120 and we determined there
that an "upgrade" from a user-wide installation to a system-wide is
inherently subject to the observed issue, therefore users who want to
switch from user-wide installations to system-wide ones need to first
uninstall the former and cannot rely on the "upgrade" functionality where
the Git for Windows installer detects an existing installation and tries
to handle it properly.

Thanks,
Johannes

On Thu, 17 Nov 2022, brian m. carlson wrote:

> Hey,
>
> On 2022-11-16 at 18:36:27, David Hary wrote:
> > :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
>

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux