Re: [PATCH 4/4] diffcore-delta.c: Ignore CR in CRLF for text files
- From
しらいしななこ <nanako3@bluebottle.com>
- Date
- Jun 29, 2007, 08:14 UTC
- Message-ID
- <200706290813.l5T8DJ6w024507@mi1.bluebottle.com>
- In-Reply-To
- <1183098962312-git-send-email-gitster@pobox.com>
Quoting Junio C Hamano <gitster@pobox.com>:
Show 11 quoted lines
> This ignores CR byte in CRLF sequence in text file when > computing similarity of two blobs. > ... > +test_expect_success 'diff -M' ' > + > + git diff-tree -M -r --name-status HEAD^ HEAD | > + sed -e "s/R[0-9]*/RNUM/" >actual && > + echo "RNUM sample elpmas" >expect && > + diff -u expect actual > + > +'
I tried this test but it does not give R100. The new file is unchanged except for LF -> CRLF. Could you explain why?
-- Nanako Shiraishi http://ivory.ap.teacup.com/nanako3/ ---------------------------------------------------------------------- Get a free email address with REAL anti-spam protection. http://www.bluebottle.com