4 ms·
As much as I agree, this is already an issue with filter in .gitattributes[1]. [1]: https://www.git-scm.com/docs/gitattributes https://www.git-scm.com/docs/git
by Nullabillity 8y ago
As much as I agree, this is already an issue with filter in .gitattributes[1].
[1]: https://www.git-scm.com/docs/gitattributes https://www.git-scm.com/docs/gitattributes
- jwilk 8y agoFilter commands are defined in .git/config, not in .gitattributes.
- Nullabillity 8y agoThey can be defined in either. For example, see https://www.agwa.name/projects/git-crypt/ https://www.agwa.name/projects/git-crypt/.
- jwilk 8y agoNo. That would be a grave security hole. In the git-crypt's case, "git-crypt init" adds this to your .git/config: [filter "git-crypt"] smudge = \"git-crypt\" smudge clean = \"git-crypt\" clean required = true
- Nullabillity 8y agoOh, interesting. Completely managed to miss that, thanks!