* t4015-diff-whitespace broken on cygwin's bash
@ 2006-10-13 9:12 Alex Riesen
2006-10-13 12:56 ` Johannes Schindelin
0 siblings, 1 reply; 2+ messages in thread
From: Alex Riesen @ 2006-10-13 9:12 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano
[-- Attachment #1: Type: text/plain, Size: 252 bytes --]
It seem to cut off the last CR from text-here. I.e.
cat <<EOF >x
...
CR at end^M
EOF
becomes just "CR at end" in the output file, that is ^M (aka CR) stripped.
The attached workaround worked for me, but is, as usual, too ugly to
sign it off.
[-- Attachment #2: fix-t4015-diff-whitespace.patch --]
[-- Type: application/xxxxx, Size: 1115 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: t4015-diff-whitespace broken on cygwin's bash
2006-10-13 9:12 t4015-diff-whitespace broken on cygwin's bash Alex Riesen
@ 2006-10-13 12:56 ` Johannes Schindelin
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Schindelin @ 2006-10-13 12:56 UTC (permalink / raw)
To: Alex Riesen; +Cc: git, Junio C Hamano
Hi,
On Fri, 13 Oct 2006, Alex Riesen wrote:
> It seem to cut off the last CR from text-here. I.e.
>
> cat <<EOF >x
> ...
> CR at end^M
> EOF
>
> becomes just "CR at end" in the output file, that is ^M (aka CR) stripped.
I can confirm this problem. Strange. I always thought that "cat << EOF"
was meant to copy verbatim. I think it is a bug in cygwin.
The only sensible workaround I can think of is to put the files into a
directory t4015/ like t4013 does.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-13 12:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-13 9:12 t4015-diff-whitespace broken on cygwin's bash Alex Riesen
2006-10-13 12:56 ` Johannes Schindelin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox