Skip to content

Git for Windows updater performs an automatic restart without confirmation #2604

@antidamage

Description

@antidamage
  • 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? Is it 32-bit or 64-bit?

$ git --version --build-options
git version 2.26.2.windows.1
cpu: x86_64
built from commit: 4267c88
sizeof-long: 4
sizeof-size_t: 8

  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?

$ cmd.exe /c ver
Microsoft Windows [Version 10.0.18362.778]

  • What options did you set as part of the installation? Or did you choose the
    defaults?
    Used previously set options, "only show new options" was selected, no options changed.

One of the following:

type "C:\Program Files\Git\etc\install-options.txt"
type "C:\Program Files (x86)\Git\etc\install-options.txt"
type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt

None of those locations exist.

  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

Pretty much default Git config.

Details

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

Standard Git for Windows updater. It performed the update and restarted without prompting. It should definitely prompt before doing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions