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

[mingw port] git plumbing piping with CR/NL

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Jun 1, 2007, 18:23 UTC
Message-ID
<fcaeb9bf0706011123ue4ceaf2i12569c63d1d92584@mail.gmail.com>
Hi,

I haven't had time looking at the code yet. I report here so that I can free my memory for other things. I made a command like this:

$ git ls-tree -r HEAD|grep blah.cc|git update-index --index-info
and the output of git-status was:

$ git status # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # new file: path/to/blah.cc\r # # Changed but not updated: # (use "git add/rm <file>..." to update what will be committed) # # deleted: path/to/blah.cc\r ... $ git version git version 1.5.2.651.g80e39-dirty (if the commit isn't in the master branch, it is based on master branch)

Apparently git should ignore \r at the end of the path. Will look at it later.
-- 
Duy
Next: Alex Riesen
Message 1 of 6 in “[mingw port] git plumbing piping with CR/NL”
  1. Nguyen Thai Ngoc DuyJun 1, 2007
  2. Alex RiesenJun 1, 2007
  3. Nguyen Thai Ngoc DuyJun 1, 2007
  4. Johannes SchindelinJun 2, 2007
  5. Alex RiesenJun 2, 2007
  6. Sam VilainJun 2, 2007

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.