git-lfs/git/gitattr
Taylor Blau ff62456c55 git/gitattr/tree_test.go: ensure that children are given appropriately
The TestNewDiscovers*ChildrenTrees tests ensure that child trees are
discovered and applied to given paths correctly.

To make sure that we aren't applying patterns from the wrong place,
let's ensure that the top-level Lines is empty, implying that any
applied attributes come from a child.

This is a safe thing to do, since Lines and Children are both part of
the public scope of a *gitattr.Tree instance, and therefore should be in
a correct state and use-able by any caller who wishes to do so.
2018-07-09 12:04:06 -05:00
..
attr_test.go git/gitattr: introduce package 'gitattr' 2018-07-06 14:42:48 -05:00
attr.go git/gitattr: introduce package 'gitattr' 2018-07-06 14:42:48 -05:00
tree_test.go git/gitattr/tree_test.go: ensure that children are given appropriately 2018-07-09 12:04:06 -05:00
tree.go git/gitattr: introduce package 'gitattr' 2018-07-06 14:42:48 -05:00