{"thread":{"id":"37053","subject":"Git diff cr+lf inconsistency observations","startedAt":"2014-07-03T20:10:59Z","lastAt":"2014-07-03T20:10:59Z","messageCount":1,"participants":["Jason Pyeron"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"245389","messageId":"16E893BEBBE04A2EB739D6239BB26027@black","threadId":"37053","inReplyTo":null,"subject":"Git diff cr+lf inconsistency observations","fromName":"Jason Pyeron","fromEmail":"jpyeron@pdinc.us","sentAt":"2014-07-03T20:10:59Z","receivedAt":"2014-07-03T20:10:59Z","isPatch":false,"sender":{"key":"jpyeron@pdinc.us","avatar":"https://gravatar.com/avatar/c2e53452caa53d940768a1ffc9cf76196d851b9b534b7a39cd39852a70a0508f?d=mp&s=160"},"body":"(I am on the list cc not needed)\n\njpyeron@black /projects/cipherShed\n$ git --version && uname -a\ngit version 1.8.4.21.g992c386\nCYGWIN_NT-5.2-WOW64 black 1.7.30(0.272/5/3) 2014-05-23 10:36 i686 Cygwin\n\njpyeron@black /projects/cipherShed\n$ git diff src/Format/Format.vcproj\ndiff --git a/src/Format/Format.vcproj b/src/Format/Format.vcproj\nindex 41081b5..e78f153 100644\n--- a/src/Format/Format.vcproj\n+++ b/src/Format/Format.vcproj\n@@ -505,6 +505,10 @@\n                                >\n                        </File>\n                        <File\n+                               RelativePath=\"..\\Common\\snprintf.h\"^M\n+                               >^M\n+                       </File>^M\n+                       <File^M\n                                RelativePath=\"..\\Common\\Tcdefs.h\"\n                                >\n                        </File>\n\njpyeron@black /projects/cipherShed\n$ hexdump.exe -C src/Format/Format.vcproj | less\n\n000029c0  09 09 3c 2f 46 69 6c 65  3e 0d 0a 09 09 09 3c 46  |..</File>.....<F|\n000029d0  69 6c 65 0d 0a 09 09 09  09 52 65 6c 61 74 69 76  |ile......Relativ|\n000029e0  65 50 61 74 68 3d 22 2e  2e 5c 43 6f 6d 6d 6f 6e  |ePath=\"..\\Common|\n000029f0  5c 53 65 63 75 72 69 74  79 54 6f 6b 65 6e 2e 68  |\\SecurityToken.h|\n00002a00  22 0d 0a 09 09 09 09 3e  0d 0a 09 09 09 3c 2f 46  |\"......>.....</F|\n00002a10  69 6c 65 3e 0d 0a 09 09  09 3c 46 69 6c 65 0d 0a  |ile>.....<File..|\n----------------------^^-----------------------------^^---\nWhy does git diff output not show these as CTRL-M?\n\n00002a20  09 09 09 09 52 65 6c 61  74 69 76 65 50 61 74 68  |....RelativePath|\n00002a30  3d 22 2e 2e 5c 43 6f 6d  6d 6f 6e 5c 73 6e 70 72  |=\"..\\Common\\snpr|\n00002a40  69 6e 74 66 2e 68 22 0d  0a 09 09 09 09 3e 0d 0a  |intf.h\"......>..|\n-------------------------------^^--------------------^^---\nWhen it shows these,\n00002a50  09 09 09 3c 2f 46 69 6c  65 3e 0d 0a 09 09 09 3c  |...</File>.....<|\n-----------------------------------------^^---------------\nthese,\n00002a60  46 69 6c 65 0d 0a 09 09  09 09 52 65 6c 61 74 69  |File......Relati|\n----------------------^^----------------------------------\nand these.\n00002a70  76 65 50 61 74 68 3d 22  2e 2e 5c 43 6f 6d 6d 6f  |vePath=\"..\\Commo|\n00002a80  6e 5c 54 63 64 65 66 73  2e 68 22 0d 0a 09 09 09  |n\\Tcdefs.h\".....|\n00002a90  09 3e 0d 0a 09 09 09 3c  2f 46 69 6c 65 3e 0d 0a  |.>.....</File>..|\n\n--\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n-                                                               -\n- Jason Pyeron                      PD Inc. http://www.pdinc.us -\n- Principal Consultant              10 West 24th Street #100    -\n- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -\n-                                                               -\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\nThis message is copyright PD Inc, subject to license 20080407P00.\n"}]}