Skip to content

Git Gui can't view file with name starting with "~" in "Unstaged Changes" window #4349

Open
@aykarpov

Description

@aykarpov
  • [ v ] 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 2.40.0.windows.1
cpu: x86_64
built from commit: 1d90ca2906dd4b7ddaf0669a13c173ec579d794a
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
Microsoft Windows [Version 10.0.14393]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
default

Details

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

CMD

Create a new repository.

Add a file with a name starting with "~" (for example, "~.txt").

Open Git GUI.

Click on the "~.txt" file.
  • What did you expect to occur after running these commands?

View the contents of the file in the main window.

  • What actually happened instead?

The message appears: "Error loading file: user ".txt" doesn't exist"

git

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions