Skip to content

Cannot stage a folder with a name that starts with bang "!foldername" #372

Description

@haacked

I created a new folder named !test in a repo and it would also not allow me to commit my changes. Works fine when you commit from the shell.

LibGit2Sharp.LibGit2SharpException: Can not stage '!orphans/images/001.gif'. The file

does not exist.

at LibGit2Sharp.Index.Stage(IEnumerable1 paths)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions