[Insight-developers] Leading TABs added in various files

Alexandre GOUAILLARD agouaillard at gmail.com
Sun Aug 29 14:18:48 EDT 2010


hi mark.

here is how to configure your xcode to avoid tabs:
http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/XcodeWorkspace/100-The_Text_Editor/text_editor.html#//apple_ref/doc/uid/TP40002679-SW64

When I had this problem, I simply replace the tabs using vi(m). you
need to close your xcode first.

alex.


On Mon, Aug 30, 2010 at 1:45 AM, Mark Roden <mmroden at gmail.com> wrote:
> Hi all,
>
> I'm trying to do a commit that will remove a bunch of compiler warnings I'm
> getting on XCode 3.2.2.  My most recent commit attempt got this ersult:
>
> pre-commit hook failure
> ---------------------------------
>
> Leading TABs added in:
>  /file/1
>  /file/2
>  /file/3
> Convert them to spaces (2 per TAB) before commit.
>
> Is there any way to have that error message spit out where the TABs are that
> are causing the failure?  Using the 'find' function doesn't work, because
> TAB is interpreted as a UI call rather than as a search term.  I grepped for
> \t (not sure if that's the right thing to do there), and replaced all
> whitespace on the lines that were returned with spaces, but still got the
> error message.
>
> Thanks!
> Mark
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
>


More information about the Insight-developers mailing list