{"thread":{"id":"8385","subject":"[mingw port] git plumbing piping with CR/NL","startedAt":"2007-06-01T18:23:24Z","lastAt":"2007-06-02T23:09:39Z","messageCount":6,"participants":["Nguyen Thai Ngoc Duy","Alex Riesen","Sam Vilain","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"43749","messageId":"fcaeb9bf0706011123ue4ceaf2i12569c63d1d92584@mail.gmail.com","threadId":"8385","inReplyTo":null,"subject":"[mingw port] git plumbing piping with CR/NL","fromName":"Nguyen Thai Ngoc Duy","fromEmail":"pclouds@gmail.com","sentAt":"2007-06-01T18:23:24Z","receivedAt":"2007-06-01T18:23:24Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"Hi,\n\nI haven't had time looking at the code yet. I report here so that I\ncan free my memory for other things. I made a command like this:\n\n$ git ls-tree -r HEAD|grep blah.cc|git update-index --index-info\n\nand the output of git-status was:\n\n$ git status\n# On branch master\n# Changes to be committed:\n#   (use \"git reset HEAD <file>...\" to unstage)\n#\n#\tnew file:   path/to/blah.cc\\r\n#\n# Changed but not updated:\n#   (use \"git add/rm <file>...\" to update what will be committed)\n#\n#\tdeleted:    path/to/blah.cc\\r\n...\n$ git version\ngit version 1.5.2.651.g80e39-dirty (if the commit isn't in the master\nbranch, it is based on master branch)\n\nApparently git should ignore \\r at the end of the path. Will look at it later.\n-- \nDuy\n"},{"id":"43773","messageId":"20070601231816.GC6360@steel.home","threadId":"8385","inReplyTo":"fcaeb9bf0706011123ue4ceaf2i12569c63d1d92584@mail.gmail.com","subject":"Re: [mingw port] git plumbing piping with CR/NL","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2007-06-01T23:18:16Z","receivedAt":"2007-06-01T23:18:16Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"Nguyen Thai Ngoc Duy, Fri, Jun 01, 2007 20:23:24 +0200:\n> Hi,\n> \n> I haven't had time looking at the code yet. I report here so that I\n> can free my memory for other things. I made a command like this:\n> \n> $ git ls-tree -r HEAD|grep blah.cc|git update-index --index-info\n> \n> and the output of git-status was:\n> \n> $ git status\n> # On branch master\n> # Changes to be committed:\n> #   (use \"git reset HEAD <file>...\" to unstage)\n> #\n> #\tnew file:   path/to/blah.cc\\r\n> #\n> # Changed but not updated:\n> #   (use \"git add/rm <file>...\" to update what will be committed)\n> #\n> #\tdeleted:    path/to/blah.cc\\r\n> ...\n> $ git version\n> git version 1.5.2.651.g80e39-dirty (if the commit isn't in the master\n> branch, it is based on master branch)\n> \n> Apparently git should ignore \\r at the end of the path. ...\n\nWhy should it? \\r is a valid character in filenames almost everywhere\n(except for the some proprietary OSes, as usual).\n\nWhy does your grep _alters_ the input, instead of filtering it, btw?\n"},{"id":"43775","messageId":"fcaeb9bf0706011656p2145afe0k8be9797d250566df@mail.gmail.com","threadId":"8385","inReplyTo":"20070601231816.GC6360@steel.home","subject":"Re: [mingw port] git plumbing piping with CR/NL","fromName":"Nguyen Thai Ngoc Duy","fromEmail":"pclouds@gmail.com","sentAt":"2007-06-01T23:56:54Z","receivedAt":"2007-06-01T23:56:54Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On 6/1/07, Alex Riesen <raa.lkml@gmail.com> wrote:\n> Nguyen Thai Ngoc Duy, Fri, Jun 01, 2007 20:23:24 +0200:\n> > Hi,\n> >\n> > I haven't had time looking at the code yet. I report here so that I\n> > can free my memory for other things. I made a command like this:\n> >\n> > $ git ls-tree -r HEAD|grep blah.cc|git update-index --index-info\n> >\n> > and the output of git-status was:\n> >\n> > $ git status\n> > # On branch master\n> > # Changes to be committed:\n> > #   (use \"git reset HEAD <file>...\" to unstage)\n> > #\n> > #     new file:   path/to/blah.cc\\r\n> > #\n> > # Changed but not updated:\n> > #   (use \"git add/rm <file>...\" to update what will be committed)\n> > #\n> > #     deleted:    path/to/blah.cc\\r\n> > ...\n> > $ git version\n> > git version 1.5.2.651.g80e39-dirty (if the commit isn't in the master\n> > branch, it is based on master branch)\n> >\n> > Apparently git should ignore \\r at the end of the path. ...\n>\n> Why should it? \\r is a valid character in filenames almost everywhere\n> (except for the some proprietary OSes, as usual).\n\nRight. Although I doubt usage of \\r and other special characters in filenames.\n\n> Why does your grep _alters_ the input, instead of filtering it, btw?\n\nI have no idea. It's grep from MKS Toolkit FYI.\n-- \nDuy\n"},{"id":"43780","messageId":"Pine.LNX.4.64.0706020229520.4046@racer.site","threadId":"8385","inReplyTo":"fcaeb9bf0706011656p2145afe0k8be9797d250566df@mail.gmail.com","subject":"Re: [mingw port] git plumbing piping with CR/NL","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-06-02T01:31:04Z","receivedAt":"2007-06-02T01:31:04Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Fri, 1 Jun 2007, Nguyen Thai Ngoc Duy wrote:\n\n> On 6/1/07, Alex Riesen <raa.lkml@gmail.com> wrote:\n>\n> > Why does your grep _alters_ the input, instead of filtering it, btw?\n> \n> I have no idea. It's grep from MKS Toolkit FYI.\n\nYour subject says \"[mingw port]\". You should have mentioned that you use a \nmixed setup, as the mingw port still depends on msys for the scripts.\n\nCiao,\nDscho\n"},{"id":"43779","messageId":"4660C88D.2010208@vilain.net","threadId":"8385","inReplyTo":"20070601231816.GC6360@steel.home","subject":"Re: [mingw port] git plumbing piping with CR/NL","fromName":"Sam Vilain","fromEmail":"sam@vilain.net","sentAt":"2007-06-02T01:31:57Z","receivedAt":"2007-06-02T01:31:57Z","isPatch":false,"sender":{"key":"sam@vilain.net","avatar":"https://gravatar.com/avatar/8fc840ca854dbf6f7065b4335e3b934951c1dca3b11db688e95e471901f8f4a8?d=mp&s=160"},"body":"Alex Riesen wrote:\n> > Apparently git should ignore \\r at the end of the path. ...\n> Why should it? \\r is a valid character in filenames almost everywhere\n> (except for the some proprietary OSes, as usual).\n>   \n\nSo is \\n!\n\nSam.\n"},{"id":"43832","messageId":"20070602230939.GB25254@steel.home","threadId":"8385","inReplyTo":"fcaeb9bf0706011656p2145afe0k8be9797d250566df@mail.gmail.com","subject":"Re: [mingw port] git plumbing piping with CR/NL","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2007-06-02T23:09:39Z","receivedAt":"2007-06-02T23:09:39Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"Nguyen Thai Ngoc Duy, Sat, Jun 02, 2007 01:56:54 +0200:\n> >Why does your grep _alters_ the input, instead of filtering it, btw?\n> \n> I have no idea. It's grep from MKS Toolkit FYI.\n>\n\nLooks like it is buggy\n"}]}