.gitattributes 2.6 KB

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