Skip to content

Commit

Permalink
Adding gitattributes: text encoding as UTF-8 (microsoft#383)
Browse files Browse the repository at this point in the history
Text files checked in as UTF-16 are being treated by git as binaries,
not appropriately showing in diffs. This adds an attribute that
instructs git to treat text files as UTF-8 and automatically convert as
needed.

Updating huggingface requirements.txt to UTF-8 format
  • Loading branch information
shawncal authored Apr 10, 2023
1 parent 8ac4e6f commit 55fe96d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto-detect text files, ensure they use LF.
* text=auto eol=lf
* text=auto eol=lf working-tree-encoding=UTF-8

# Bash scripts
*.sh text eol=lf
Binary file modified samples/apps/hugging-face-http-server/requirements.txt
Binary file not shown.

0 comments on commit 55fe96d

Please sign in to comment.