Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Sun, Jun 10, 2012 at 12:41 PM, Olivier Hallot
<olivier.hallot@documentfoundation.org> wrote:
Hi

I am trying to commit a xml file with blank lines inserted for readbility.

When I issue the git commit, it complains empty lines are a no-no.

Empty line are not a no-no... trailing spaces are.

see
dictionaries/pt_BR/description.xml:69:         If not you may provide it
manually if you like.
* trailing whitespace (line 74)
dictionaries/pt_BR/description.xml:74:

most good editor have a way to highlight theses... and to remove theses quickly


Is there a way to override this feature?
yes, but this this should absolutely _NOT_ be used...
for one thing, bypassing the hook means that the commit won't get a ChangeId
and then it probably means that you are doing something wrong, or that
the hook need fixing... either way hide the problem under the carpet
in _not_ a solution.

Norbert

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.