]> git.feebdaed.xyz Git - 0xmirror/git-lfs.git/commit
feat[gitattr]: Tree now sees macros
authorJulien Marzal <julien.marzal@protonmail.com>
Tue, 14 Oct 2025 07:44:15 +0000 (09:44 +0200)
committerJulien M <75697279+Diamondemon@users.noreply.github.com>
Fri, 17 Oct 2025 07:09:59 +0000 (09:09 +0200)
commitd57bf61b60277d17144f89838ffe48d9d628f9f2
tree9ebf1622596c19dcd7c56a84caee50b043eac6ab
parent6c2615e2a0a8662c3da4fdbb5ddc68eebeaaa7fe
feat[gitattr]: Tree now sees macros

- Tree structure now has a reference to possible System, User and Repo-level attributes
- Macroprocessor is created by New and given through the recursive logic which was moved to a "newInTree" internal function
- Empty trees must also have a non-nil macroprocessor in case they have children. This property is not meant to be checked by the tree.Applied method
- Changed tree.Applied logic to use Cut instead
git/gitattr/tree.go