>>
>> I really hope that this patch (or rather, this email containing the
>> patch:-) has avoided the DOS line endings.  I've tested it on a fresh
>> git branch by emailing it to myself with new Thunderbird settings and it
>> applies cleanly.
>

Not sure what OS you're on, but Cygwin installs utility 'dos2unix'
scripts that you can run on a file.

Alternately, 'notepad' replacements generally treat
encodings/line-endings sanely. Specifically on XP I use notepad++,
which has a 'Convert to Unix line endings' function.

Presumably, once you attach the .patch file it is 'binary data' and no
FTP-style line ending/encoding mangling should happen

On Fri, Sep 4, 2009 at 4:06 AM, Trevor Daniels<t.dani...@treda.co.uk> wrote:
>
> Hi Joe, you wrote Friday, September 04, 2009 12:42 AM
>
>
>> As discussed on the -user list, this is a patch to start a section in
>> the Specialist Notation chapter on contemporary music.
>>
>> I really hope that this patch (or rather, this email containing the
>> patch:-) has avoided the DOS line endings.  I've tested it on a fresh
>> git branch by emailing it to myself with new Thunderbird settings and it
>> applies cleanly.
>
> The inline copy has gone now :), but the Content-transfer-encoding
> is still 7-bit, which I think is relevant, and it still had DOS line
> endings.
>
> I've now learnt quite a bit about the effect of this.  It gives rise to a
> variety of quite misleading error messages from git am - nothing
> simple like 'patch has DOS line endings', which would seem easy
> to detect - but messages like
>
> 'bad git-diff - expected /dev/null on line 10'
>
> or errors reporting trailing white space when there is none.
>
> I changed the line endings to Unix and the patch applied cleanly.
>
> I'll push to origin/master, so if you make any of the amendments
> Graham suggested do that as a patch from this change.
>
>> If not, further work on this section may be slightly delayed as I seek
>> out Thunderbird developers to beat over the head until they offer a
>> solution ...
>
> Looks like that's the next step now.
>
> Trevor
>
>
>
> _______________________________________________
> lilypond-devel mailing list
> lilypond-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-devel
>


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to