.gitattributes 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. ###############################################################################
  2. # Set default behavior to automatically normalize line endings.
  3. ###############################################################################
  4. * text=auto
  5. ###############################################################################
  6. # Make sh files under the build directory always have LF as line endings
  7. ###############################################################################
  8. *.sh eol=lf
  9. ###############################################################################
  10. # Make gradlew always have LF as line endings
  11. ###############################################################################
  12. gradlew eol=lf
  13. ###############################################################################
  14. # Set default behavior for command prompt diff.
  15. #
  16. # This is need for earlier builds of msysgit that does not have it on by
  17. # default for csharp files.
  18. # Note: This is only used by command line
  19. ###############################################################################
  20. #*.cs diff=csharp
  21. ###############################################################################
  22. # Set the merge driver for project and solution files
  23. #
  24. # Merging from the command prompt will add diff markers to the files if there
  25. # are conflicts (Merging from VS is not affected by the settings below, in VS
  26. # the diff markers are never inserted). Diff markers may cause the following
  27. # file extensions to fail to load in VS. An alternative would be to treat
  28. # these files as binary and thus will always conflict and require user
  29. # intervention with every merge. To do so, just uncomment the entries below
  30. ###############################################################################
  31. #*.sln merge=binary
  32. #*.csproj merge=binary
  33. #*.vbproj merge=binary
  34. #*.vcxproj merge=binary
  35. #*.vcproj merge=binary
  36. #*.dbproj merge=binary
  37. #*.fsproj merge=binary
  38. #*.lsproj merge=binary
  39. #*.wixproj merge=binary
  40. #*.modelproj merge=binary
  41. #*.sqlproj merge=binary
  42. #*.wwaproj merge=binary
  43. ###############################################################################
  44. # behavior for image files
  45. #
  46. # image files are treated as binary by default.
  47. ###############################################################################
  48. #*.jpg binary
  49. #*.png binary
  50. #*.gif binary
  51. ###############################################################################
  52. # diff behavior for common document formats
  53. #
  54. # Convert binary document formats to text before diffing them. This feature
  55. # is only available from the command line. Turn it on by uncommenting the
  56. # entries below.
  57. ###############################################################################
  58. #*.doc diff=astextplain
  59. #*.DOC diff=astextplain
  60. #*.docx diff=astextplain
  61. #*.DOCX diff=astextplain
  62. #*.dot diff=astextplain
  63. #*.DOT diff=astextplain
  64. #*.pdf diff=astextplain
  65. #*.PDF diff=astextplain
  66. #*.rtf diff=astextplain
  67. #*.RTF diff=astextplain
  68. ###############################################################################
  69. # Make sure jQuery files always have LF as line endings (to pass SRI checks)
  70. ###############################################################################
  71. jquery*.js eol=lf
  72. jquery*.map eol=lf
  73. ###############################################################################
  74. # Make sure bootstrap files always have LF as line endings (to pass SRI checks)
  75. ###############################################################################
  76. bootstrap*.js eol=lf
  77. bootstrap*.map eol=lf
  78. bootstrap*.css eol=lf
  79. # VerifyTests
  80. *.verified.txt text eol=lf working-tree-encoding=UTF-8