Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.

error: stream did not contain valid UTF-8 #35

Open
dten opened this issue Dec 9, 2016 · 1 comment
Open

error: stream did not contain valid UTF-8 #35

dten opened this issue Dec 9, 2016 · 1 comment

Comments

@dten
Copy link

dten commented Dec 9, 2016

I narrowed this down to having any files in

.hg/store/data that end with .d they appear when I commit a binary of a zip or anything large to my repo

Shouldn't .git and .hg folders be ignored by default? or just not explode on binaries that it thinks is D source maybe

@kbknapp
Copy link
Owner

kbknapp commented Dec 9, 2016

From the help message:

    -e, --exclude <paths>...    Files or directories to exclude (automatically includes '.git')
        --utf8-rule <rule>      Sets the UTF-8 parsing rule (Defaults to 'strict')
                                 [values: ignore lossy strict]

Is this error when using --utf8-rule=ignore?

Also, .git should be ignored by default, .hg is not ignored by default however

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants