.gitattributes 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. # Set default behavior for command prompt diff.
  11. #
  12. # This is need for earlier builds of msysgit that does not have it on by
  13. # default for csharp files.
  14. # Note: This is only used by command line
  15. ###############################################################################
  16. #*.cs diff=csharp
  17. ###############################################################################
  18. # Set the merge driver for project and solution files
  19. #
  20. # Merging from the command prompt will add diff markers to the files if there
  21. # are conflicts (Merging from VS is not affected by the settings below, in VS
  22. # the diff markers are never inserted). Diff markers may cause the following
  23. # file extensions to fail to load in VS. An alternative would be to treat
  24. # these files as binary and thus will always conflict and require user
  25. # intervention with every merge. To do so, just uncomment the entries below
  26. ###############################################################################
  27. #*.sln merge=binary
  28. #*.csproj merge=binary
  29. #*.vbproj merge=binary
  30. #*.vcxproj merge=binary
  31. #*.vcproj merge=binary
  32. #*.dbproj merge=binary
  33. #*.fsproj merge=binary
  34. #*.lsproj merge=binary
  35. #*.wixproj merge=binary
  36. #*.modelproj merge=binary
  37. #*.sqlproj merge=binary
  38. #*.wwaproj merge=binary
  39. ###############################################################################
  40. # behavior for image files
  41. #
  42. # image files are treated as binary by default.
  43. ###############################################################################
  44. #*.jpg binary
  45. #*.png binary
  46. #*.gif binary
  47. ###############################################################################
  48. # diff behavior for common document formats
  49. #
  50. # Convert binary document formats to text before diffing them. This feature
  51. # is only available from the command line. Turn it on by uncommenting the
  52. # entries below.
  53. ###############################################################################
  54. #*.doc diff=astextplain
  55. #*.DOC diff=astextplain
  56. #*.docx diff=astextplain
  57. #*.DOCX diff=astextplain
  58. #*.dot diff=astextplain
  59. #*.DOT diff=astextplain
  60. #*.pdf diff=astextplain
  61. #*.PDF diff=astextplain
  62. #*.rtf diff=astextplain
  63. #*.RTF diff=astextplain