• Zeger-Jan van de Weg's avatar
    Client implementation for InfoAttributes · c830b8e3
    Zeger-Jan van de Weg authored
    Clients can now request the attributes from `$GIT_DIR/info/attributes`
    through Gitaly. The Gitaly migration is described in gitlab-org/gitaly#1082.
    
    The parser algorithm was implemented in a way it could handle both file
    contents or a File handle, and both were already tested.
    
    Other than that, using the boy scout rule, I've removed a class,
    InfoAttributes, as it was delegating everything to the parser and
    therefor wasn't really needed in my opinion.
    c830b8e3
repository.rb 78.9 KB