Skip to content

fileeditor not present #10579

@CyrChudac

Description

@CyrChudac

Environment

  • Git Extensions 4.0.1.15887
  • Build f2567de
  • Git 2.39.0.windows.2
  • Microsoft Windows NT 10.0.19045.0
  • .NET 6.0.12
  • DPI 192dpi (200% scaling)
  • Microsoft.WindowsDesktop.App Versions
    Microsoft.WindowsDesktop.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 6.0.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 6.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Issue description

When GitExtensions are installed on windows in other directory than C:/Program Files (x86) (in my case it even on D:/...), the fileeditor fails to open when necessary. And so I my rebase attempt failed too when conflicts were encountered.

Steps to reproduce

  1. Install git extensions on windows in directory other than Program Files (x86)
  2. open it and run rebase with conflicts
  3. when fileeditor should be opened this message pops up instead:

hint: Waiting for your editor to close the file... "C:/Program Files (x86)/GitExtensions/GitExtensions.exe" fileeditor: line 1: C:/Program Files (x86)/GitExtensions/GitExtensions.exe: No such file or directory
error: There was a problem with the editor '"C:/Program Files (x86)/GitExtensions/GitExtensions.exe" fileeditor'.
Please supply the message using either -m or -F option.
error: could not commit staged changes.
Done

Press Enter or Esc to exit...

Did this work in previous version of GitExtensions?

In previous version, it was ok. I think it was 3.1xyz... but I am not sure.

Diagnostics

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions