Git development
 help / color / mirror / Atom feed
* remove CR/LF from .gitignore
@ 2005-11-02 13:05 Alex Riesen
  2005-11-02 16:02 ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Riesen @ 2005-11-02 13:05 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

For everyone cursed by dos/windows line endings (aka CRLF):

The code reading the .gitignore files (excludes and excludes per
directory) leaves \r in the patterns, which causes fnmatch to fail for
no obvious reason. Just remove a "\r" preceding a "\n"
unconditionally.

---

Junio, sorry for attachments. Have no other way to it on gmail here at
work. The other patch is just the test.

[-- Attachment #2: msdos-excludes.patch --]
[-- Type: application/xxxxx, Size: 401 bytes --]

[-- Attachment #3: msdos-excludes-test.patch --]
[-- Type: application/xxxxx, Size: 648 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-02 20:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-02 13:05 remove CR/LF from .gitignore Alex Riesen
2005-11-02 16:02 ` Linus Torvalds
2005-11-02 20:27   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox