mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-03-23 03:10:07 +00:00
add ability to force specific mime-types to text through env var
This commit is contained in:
21
docs/howto/force-mimetype-to-text.md
vendored
Normal file
21
docs/howto/force-mimetype-to-text.md
vendored
Normal 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)
|
||||
Reference in New Issue
Block a user