Commit graph

2 commits

Author SHA1 Message Date
Zeger-Jan van de Weg
c830b8e3b7
Client implementation for InfoAttributes
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.
2018-04-11 14:21:27 +02:00
James Edwards-Jones
0683d31ab1 Can parse root .gitattributes file for a ref 2018-01-24 05:15:37 +00:00
Renamed from lib/gitlab/git/attributes.rb (Browse further)