forked from cheng/wallet
97 lines
4.7 KiB
Plaintext
97 lines
4.7 KiB
Plaintext
###############################################################################
|
|
# Handle line endings automatically for files detected as text
|
|
# and leave all files detected as binary untouched.
|
|
* text=auto
|
|
# Force the following filetypes to have unix eols and encoding, so that Windows does not break them.
|
|
# If a file is going to be used on linux and windows, we want it invariant,
|
|
# rather than automatically translated, because automatic translation always screw things up.
|
|
.gitignore text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
.gitattributes text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
.gitmodules text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.sh text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.c text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.cpp text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.h text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.txt text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.html text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.htm text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.md text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.pandoc text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.css text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.manifest text eol=lf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
|
|
|
|
makefile text eol=lf encoding=utf-8
|
|
Makefile text eol=lf encoding=utf-8
|
|
|
|
# Force the following Visual Studio specific filetypes to have Windows eols,
|
|
# so that Git does not break them
|
|
*.bat text eol=crlf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.cmd text eol=crlf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.rc text eol=crlf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.sln text eol=crlf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.vcproj text eol=crlf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.vcxproj text eol=crlf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.vcxproj.filters text eol=crlf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
*.vcxproj.user text eol=crlf encoding=utf-8 whitespace=trailing-space,space-before-tab,tabwidth=4
|
|
|
|
#Don't let git screw with pdf files
|
|
*.pdf -text
|
|
|
|
# Force binary files to be binary
|
|
*.gif -textn -diff
|
|
*.jpg -textn -diff
|
|
*.jepg -textn -diff
|
|
*.png -textn -diff
|
|
*.webp -textn -diff
|
|
|
|
###############################################################################
|
|
# Set default behavior for command prompt diff.
|
|
#
|
|
# This is need for earlier builds of msysgit that does not have it on by
|
|
# default for csharp files.
|
|
# Note: This is only used by command line
|
|
###############################################################################
|
|
#*.cs diff=csharp
|
|
|
|
###############################################################################
|
|
# Set the merge driver for project and solution files
|
|
#
|
|
# Merging from the command prompt will add diff markers to the files if there
|
|
# are conflicts (Merging from VS is not affected by the settings below, in VS
|
|
# the diff markers are never inserted). Diff markers may cause the following
|
|
# file extensions to fail to load in VS. An alternative would be to treat
|
|
# these files as binary and thus will always conflict and require user
|
|
# intervention with every merge. To do so, just uncomment the entries below
|
|
###############################################################################
|
|
#*.sln merge=binary
|
|
#*.csproj merge=binary
|
|
#*.vbproj merge=binary
|
|
#*.vcxproj merge=binary
|
|
#*.vcproj merge=binary
|
|
#*.dbproj merge=binary
|
|
#*.fsproj merge=binary
|
|
#*.lsproj merge=binary
|
|
#*.wixproj merge=binary
|
|
#*.modelproj merge=binary
|
|
#*.sqlproj merge=binary
|
|
#*.wwaproj merge=binary
|
|
|
|
###############################################################################
|
|
# diff behavior for common document formats
|
|
#
|
|
# Convert binary document formats to text before diffing them. This feature
|
|
# is only available from the command line. Turn it on by uncommenting the
|
|
# entries below.
|
|
###############################################################################
|
|
#*.doc diff=astextplain
|
|
#*.DOC diff=astextplain
|
|
#*.docx diff=astextplain
|
|
#*.DOCX diff=astextplain
|
|
#*.dot diff=astextplain
|
|
#*.DOT diff=astextplain
|
|
#*.pdf diff=astextplain
|
|
#*.PDF diff=astextplain
|
|
#*.rtf diff=astextplain
|
|
#*.RTF diff=astextplain
|