28f96008df
We currently have two separate pieces of code for parsing attributes: the attribs.go file in the git package, and the gitattr package. Unify them by converting the former to call the latter. In doing so, move the line ending splitter from the former package to the latter package and have the ParseLines call in the latter package return an additional value which represents the proper line ending value for the file read. |
||
---|---|---|
.. | ||
attr_test.go | ||
attr.go | ||
tree_test.go | ||
tree.go |