Hi,
OK. I will pass something like this (with more extensions) on all source tree and will send patches after this:
find -name "*.cxx" -o -name "*.hxx" -o -name "*.mk" -exec chmod -x '{}' \;
I have also tried to look for git-hooks but it looks like it is outside the source tree or I was unable to find it.
Francisco Kem Iti Saito
Em 23/03/2011 às 11:55 horas, "Tor Lillqvist" <tlillqvist@novell.com> escreveu:
Thanks, but maybe we should simply run a script over all the repos to chmod -x any .cxx .hxx .mk etc files?
And then add a git hook to remove x bits in the future if they are accidentally introduced to source files or makefiles.
--tml
Context
- Re: [Libreoffice] [PATCH] removing the executable mode from some source files · saito
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.