We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dbb8158 + 38e2369 commit 667404eCopy full SHA for 667404e
README.md
@@ -133,7 +133,10 @@ is to convert line endings in text files from CRLF to git's preferred LF:
133
# $2 = Mercurial's hash of the file
134
# $3 = "1" if Mercurial reports the file as binary, otherwise "0"
135
136
-if [ "$3" == "1" ]; then cat; else dos2unix; fi
+if [ "$3" == "1" ]; then cat; else dos2unix -q; fi
137
+# -q option in call to dos2unix allows to avoid returning an
138
+# error code when handling non-ascii based text files (like UTF-16
139
+# encoded text files)
140
-- End of crlf-filter.sh --
141
```
142
0 commit comments