.gitattributes 2.5 KB

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