Skip to content

status_should_ignore only works for absolute paths #164

Closed
@jacwah

Description

@jacwah

Calling Repository::status_should_ignore on a path of the form ./filename always returns true regardless of the current gitignore file. I tried canonicalizing the path instead which lead to the correct result being returned.

Is this a bug in git2-rs/libgit2? Am I missing something?

Cheers

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