.gitattributes 2.5 KB

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