Commit graph

3 commits

Author SHA1 Message Date
Alejandro Rodríguez
01de2b5df8 Refactor gitlab:import:repos task to remove direct disk access 2018-07-31 16:28:44 -04:00
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 spec/lib/gitlab/git/attributes_spec.rb (Browse further)