7 ms·
> [...] nor tooling that makes it a really natural thing to do [...] If we ignore the fact that switching between those two formatters would "break" the format
by jaeckel 2y ago
> [...] nor tooling that makes it a really natural thing to do [...]
If we ignore the fact that switching between those two formatters would "break" the formatting: There exist clean&smudge filters in Git, which could accomplish this technically.
https://git-scm.com/docs/gitattributes#_filter https://git-scm.com/docs/gitattributes#_filter
https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes#filters_a https://git-scm.com/book/en/v2/Customizing-Git-Git-Attribute...