git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: CRLF problems with Git on Win32

From
JHJan Hudec <bulb@ucw.cz>
Date
Jan 9, 2008, 18:46 UTC
Message-ID
<20080109184630.GB20892@efreet.light.src>
In-Reply-To
<Pine.LNX.4.64.0801081150010.25629@ds9.cixit.se>
On Tue, Jan 08, 2008 at 11:56:00 +0100, Peter Karlsson wrote:
Show 10 quoted lines
> Thomas Neumann:
> 
> > as a user, I expect a SCM to only modify a file when I have
> > explicitly asked it to do so.
> 
> As a user, I exepect things to just work. With RCS/CVS/Subversion, it
> does, because it differentiates between text files (internally encoding
> NLs with "LF", but I couldn't care less what it uses there) and binary
> files (which it doesn't change). With git it currently doesn't since it
> treats everything as binary files.

With subversion you must explicitely enable it to "just" work. Subversion auto-tags files with specified extensions, when they are added, with svn:eol property specifying how the file should be converted and than converts (everywhere) the files to specified line endings. However, AFAIK, it does not convert anything unless the properties are set and the default config has the automatic setting *commented out*.

-- 
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
Previous: Dmitry PotapovNext: Peter Klavins
Message 30 of 113 in “CRLF problems with Git on Win32”
  1. Peter KarlssonJan 7, 2008
  2. Steffen ProhaskaJan 7, 2008
  3. Junio C HamanoJan 7, 2008
  4. Steffen ProhaskaJan 7, 2008
  5. Jeff KingJan 7, 2008
  6. Robin RosenbergJan 7, 2008
  7. Johannes SchindelinJan 7, 2008
  8. Robin RosenbergJan 7, 2008
  9. Johannes SchindelinJan 7, 2008
  10. Steffen ProhaskaJan 7, 2008
  11. Linus TorvaldsJan 7, 2008
  12. Peter KarlssonJan 8, 2008
  13. Johannes SchindelinJan 9, 2008
  14. Steffen ProhaskaJan 9, 2008
  15. Gregory JefferisJan 9, 2008
  16. Johannes SchindelinJan 9, 2008
  17. Dmitry PotapovJan 9, 2008
  18. Dmitry PotapovJan 9, 2008
  19. Gregory JefferisJan 9, 2008
  20. Dmitry PotapovJan 9, 2008
  21. Thomas NeumannJan 7, 2008
  22. Peter KarlssonJan 8, 2008
  23. Jeff KingJan 8, 2008
  24. Johannes SchindelinJan 8, 2008
  25. Johannes SchindelinJan 8, 2008
  26. Peter HarrisJan 8, 2008
  27. Peter KarlssonJan 8, 2008
  28. Kelvie WongJan 8, 2008
  29. Dmitry PotapovJan 8, 2008
  30. Jan HudecJan 9, 2008
  31. Peter KlavinsJan 7, 2008
  32. Steffen ProhaskaJan 7, 2008
  33. Peter KarlssonJan 7, 2008
  34. Peter KlavinsJan 7, 2008
  35. Steffen ProhaskaJan 7, 2008
  36. Junio C HamanoJan 7, 2008
  37. Linus TorvaldsJan 7, 2008
  38. Gregory JefferisJan 7, 2008
  39. git and unicodeGonzalo Garramuño, Jan 8, 2008
  40. Remi VanicatJan 8, 2008
  41. Robin RosenbergJan 8, 2008
  42. Steffen ProhaskaJan 8, 2008
  43. Junio C HamanoJan 8, 2008
  44. Jeff KingJan 8, 2008
  45. Junio C HamanoJan 8, 2008
  46. Gregory JefferisJan 8, 2008
  47. Marius Storm-OlsenJan 8, 2008
  48. J. Bruce FieldsJan 8, 2008
  49. Steffen ProhaskaJan 8, 2008
  50. Junio C HamanoJan 8, 2008
  51. Junio C HamanoJan 8, 2008
  52. Gregory JefferisJan 10, 2008
  53. Linus TorvaldsJan 10, 2008
  54. Gregory JefferisJan 10, 2008
  55. Dmitry PotapovJan 10, 2008
  56. Linus TorvaldsJan 11, 2008
  57. Junio C HamanoJan 11, 2008
  58. Steffen ProhaskaJan 11, 2008
  59. Linus TorvaldsJan 11, 2008
  60. Steffen ProhaskaJan 11, 2008
  61. Linus TorvaldsJan 11, 2008
  62. Steffen ProhaskaJan 11, 2008
  63. Linus TorvaldsJan 11, 2008
  64. Steffen ProhaskaJan 11, 2008
  65. Linus TorvaldsJan 11, 2008
  66. Sam RavnborgJan 11, 2008
  67. Johannes SchindelinJan 11, 2008
  68. Sam RavnborgJan 11, 2008
  69. Dmitry PotapovJan 12, 2008
  70. [WIP] safecrlf: Add mechanism to warn about irreversible crlf conversionsSteffen Prohaska, Jan 12, 2008
  71. Dmitry PotapovJan 12, 2008
  72. [WIP v2] safecrlf: Add mechanism to warn about irreversible crlf conversionsSteffen Prohaska, Jan 13, 2008
  73. Christer WeinigelJan 11, 2008
  74. David KågedalJan 14, 2008
  75. Gregory JefferisJan 11, 2008
  76. Dmitry PotapovJan 12, 2008
  77. Rogan DawesJan 10, 2008
  78. Gregory JefferisJan 10, 2008
  79. Junio C HamanoJan 11, 2008
  80. Steffen ProhaskaJan 8, 2008
  81. J. Bruce FieldsJan 8, 2008
  82. Junio C HamanoJan 8, 2008
  83. Steffen ProhaskaJan 8, 2008
  84. Junio C HamanoJan 8, 2008
  85. Dmitry PotapovJan 8, 2008
  86. Steffen ProhaskaJan 8, 2008
  87. Junio C HamanoJan 8, 2008
  88. Steffen ProhaskaJan 8, 2008
  89. Steffen ProhaskaJan 8, 2008
  90. Linus TorvaldsJan 8, 2008
  91. Junio C HamanoJan 9, 2008
  92. Junio C HamanoJan 8, 2008
  93. Robin RosenbergJan 8, 2008
  94. Linus TorvaldsJan 8, 2008
  95. SeanJan 8, 2008
  96. Dmitry PotapovJan 8, 2008
  97. Linus TorvaldsJan 9, 2008
  98. Abdelrazak YounesJan 9, 2008
  99. Johannes SchindelinJan 9, 2008
  100. Junio C HamanoJan 9, 2008
  101. Johannes SchindelinJan 9, 2008
  102. Steffen ProhaskaJan 9, 2008
  103. Johannes SchindelinJan 9, 2008
  104. Johannes SchindelinJan 9, 2008
  105. Steffen ProhaskaJan 9, 2008
  106. Peter KarlssonJan 10, 2008
  107. Johannes SchindelinJan 10, 2008
  108. Miles BaderJan 11, 2008
  109. Miles BaderJan 11, 2008
  110. Peter KarlssonJan 10, 2008
  111. Peter HarrisJan 10, 2008
  112. Peter KarlssonJan 11, 2008
  113. Peter HarrisJan 11, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.