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


On 28/10/11 16:33, Norbert Thiebaud wrote:
On Fri, Oct 28, 2011 at 9:19 AM, Philipp Weissenbacher
<p.weissenbacher@gmail.com>  wrote:

I didn't get any such message. Also, searching in vim for /\s\+$ turned up
only one trailing space on line 291. I used gedit; maybe that's the culprit?

yes that was it.
for gedit, google pointed me to:

http://www.linuxuk.org/2009/05/trim-trailing-spaces-in-gedit/
https://github.com/jonleighton/gedit-trailsave
...

Thanks, but it doesn't work with gedit 3 for me. I'll switch to vim for now anyway and use the "remove whitespace on save" autocmd.


Still I'm a bit concerned that the commit-hook did not complain

can you sent the result of

ls -l .git/hooks

-rwxrwxr-x. 1 philipp philipp  452 Oct 21 03:00 applypatch-msg.sample
-rwxrwxr-x. 1 philipp philipp  896 Oct 21 03:00 commit-msg.sample
-rwxrwxr-x. 1 philipp philipp  160 Oct 21 03:00 post-commit.sample
-rwxrwxr-x. 1 philipp philipp  548 Oct 21 03:00 post-receive.sample
-rwxrwxr-x. 1 philipp philipp  189 Oct 21 03:00 post-update.sample
-rwxrwxr-x. 1 philipp philipp  398 Oct 21 03:00 pre-applypatch.sample
-rwxrwxr-x. 1 philipp philipp 1578 Oct 21 03:00 pre-commit.sample
-rwxrwxr-x. 1 philipp philipp 1239 Oct 21 03:00 prepare-commit-msg.sample
-rwxrwxr-x. 1 philipp philipp 4951 Oct 21 03:00 pre-rebase.sample
-rwxrwxr-x. 1 philipp philipp 3611 Oct 21 03:00 update.sample


Philipp


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.