1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-03-23 22:35:07 +00:00

add ability to force specific mime-types to text through env var

This commit is contained in:
deadc0de6
2026-03-10 22:33:10 +01:00
committed by deadc0de
parent b8f39858aa
commit b27f3c41b1
4 changed files with 79 additions and 21 deletions

21
docs/howto/force-mimetype-to-text.md vendored Normal file
View File

@@ -0,0 +1,21 @@
# Force mime type to text
The following `.gitignore` is for example considered
binary by dotdrop since its mime type is `application/x-wine-extension-ini`
```
[user]
name = user
email = user@example.com
[credential]
helper = cache
```
Dotdrop can be forced to consider specific mime types as text.
Set the following environment variable:
```bash
export DOTDROP_MIME_TEXT=application/x-wine-extension-ini
```
see [environment variables](../usage.md#environment-variables)