Post #2114201
2025-04-24 17:02 UTC
@nobodyinperson @johanneskastl @forgejo I did use gitattributes! You can set git config options directly for Forgejo via the [git.config] section. Set 'core.attributesFile' and 'diff..textconv' there, then in the gitattributes set 'diff=' for the filetypes you want to convert like this.
https://forgejo.org/docs/v10.0/admin/config-cheat-sheet/#git---config-options-gitconfig
https://git-scm.com/docs/gitattributes
Replies (1)
-
@nobodyinperson@fosstodon.org 2025-04-24 17:10
@matrss and @mih this might interest you 👆 I wonder how it plays with :gitannex: #gitAnnex, but I do have several different diffdrivers for annexed files (plaintext, jupyter notebooks, etc.) so it should work I guess?