2 ms·
You can do most of this in git via custom diff-driver and smudge/clean filters. For example git can already convert line-endings on the fly for windows. This i
by nolist_policy 3y ago
You can do most of this in git via custom diff-driver and smudge/clean filters.
For example git can already convert line-endings on the fly for windows. This is special-cased, but can just as well be implemented via smudge/clean.
Oh and git-lfs is done via smudge/clean too.
- ironmagma 3y agoOne problem with that though is that smudge and clean are not used in rename detection. Git purposely skips running these filters to detect renames for performance. There are quite a lot of other issues with smudge/clean too though.