Skip to content

Taking into account default git attributes with fetch_attributes() #765

@raphaelyancey

Description

@raphaelyancey

Rugged doesn't seem to aknowledge core.attributesFile (falling back to $HOME/.config/git/attributes) or $(prefix)/etc/gitattributes as specified in the docs when fetching attributes for a path with repo.fetch_attributes(path).

git check-attr handles that so this is either on Rugged side or libgit2 (against which I don't have the competence to test).

(related to github-linguist/linguist#4283)

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