[Koha-devel] Git whitespace warnings on DOS files

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Thu Oct 6 13:29:00 CEST 2011


Hi all,

Does anyone of you know how to get rid of whitespace warnings in git in the following scenario. (See also bugzilla patch 6803).
(Note that I am using git version 1.6.0.6.) If you have a higher version and do not have the warnings, please let me know.

Applying patch /usr/share/koha/rma/patches/6803-mods-xsl-v35.patch
/usr/share/koha/rma/patches/6803-mods-xsl-v35.patch:27: trailing whitespace.
        <xsl:include href="MARC21slimUtils-MODS31.xsl"/>
/usr/share/koha/rma/patches/6803-mods-xsl-v35.patch:37: trailing whitespace.
-->
warning: 2 lines add whitespace errors.

The whitespace warnings are related to the CRs (carriage return) on those lines, since the file is still in DOS format (koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS3-1.xsl).

Thanks,

Marcel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20111006/1e92fbd4/attachment.htm>


More information about the Koha-devel mailing list