Skip to content

Error using on Windows #273

Closed
Closed
@apwojcik

Description

@apwojcik

Recently stgit stopped working on Windows for me.

I can initialize the branch with metadata. Then, I can convert existing commits to patches. I can pop them one by one or all at once and push them back. After that, I can convert them to commits, too. Finally, I can create a new patch. stg undo works, too. That's it.

I cannot anymore stg refresh, change the order of patches, push anything when I delete a patch in the middle of the stack, etc. The error I am receiving is most of the time, for example: error: 'git update-index': fatal: not a git repository: '\\?\C:\Repo\.git'.

Stacked Git 2.1.0 (a5e19a6)
git version 2.37.3.windows.1

The Python and early Rust versions were working just fine on Windows. The issues probably started as soon as release 2.0.0 was published.

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