Skip to content

Reset File to > State before commit... results in strange error. #1912

@grigorye

Description

@grigorye

Fork: 2.29.2

I'm not sure about providing steps to reproduce because it fails every time, in any example/repo that I tried so far.

Update: while it fails in any repo on one of my machines, it does not fail on another machine. So, it looks like there's something related to global Git/machine config on that problematic machine.

Basically, an attempt to revert a file that was modified (just in case, not created) in some commit from the contextual menu command, results in something like this:

Screenshot 2023-06-13 at 17 05 08

Just in case, I encounter this issue only in Fork. Similar workflow in e.g. SmartGit works fine. Also, I did not encounter anything else suspicious working with Git on daily basisis, neither in Fork, Git CLI or SmartGit.

I also checked Git instance used by Fork - while they were initially different (problematic machine used Fork-bundled 23.7.5, the other machine used Apple-bundled 29.3.2), setting them both to Fork-supplied 23.7.5 did not make any difference (it still fails on problematic machine, and does not on another).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions