Hello,
sorry for the late reply.
I removed uncrustify, in vain. Same problem remains.

I completely bypassed the whole thing by committing with the -n.

Jerome

Le ven. 26 mars 2021 à 23:45, Simon Rit <[email protected]> a
écrit :

> Hi,
> I just compared RTK's .gitattribute file and ITK's. Can you try removing
> ",uncrustify" from RTK .gitattribute file to see if that fixes the issue?
> Thanks,
> Simon
>
> On Fri, Mar 26, 2021 at 6:37 PM Jerome Lesaint <[email protected]>
> wrote:
>
>> Hi all,
>>
>> Here the situation : i've made somme changes on a local copy of RTK,
>> forked from SimonRit github.
>> I've run SetupforForDevelopment.sh script; both on ITK and RTK dir.
>>
>> When committing my changes to RTK, I get a long long list of
>> "errors"/"messages" (see attachment) and it seems that my changes are not
>> committed after all.
>>
>> I had many corrections proposed by the style checker, which I all
>> accepted without looking at the details (and which are probably listed in
>> the error message). But the first set of lines seems strange:
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> cmake/KWStyle/RTKOverwrite.txt
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> cmake/KWStyle/RTKOverwrite.txt
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> cmake/KWStyle/RTKOverwrite.txt
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> cmake/KWStyle/RTKOverwrite.txt
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> cmake/KWStyle/RTKOverwrite.txt
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> cmake/KWStyle/RTKOverwrite.txt
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> cmake/KWStyle/RTKOverwrite.txt
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> cmake/KWStyle/RTKOverwrite.txt
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> cmake/KWStyle/RTKOverwrite.txt
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> [attr]our-c-style  whitespace=tab-in-indent,no-lf-at-eof
>> hooks.style=KWStyle,clangformat,uncrustify
>>
>>  not allowed: ./.gitattributes:3
>>
>> cmake/KWStyle/RTKOverwrite.txt
>>
>> Do you have any idea ?
>>
>> Thanks in advance,
>> Jérome
>>
>> _______________________________________________
>> Rtk-users mailing list
>> [email protected]
>> https://public.kitware.com/mailman/listinfo/rtk-users
>>
>
_______________________________________________
Rtk-users mailing list
[email protected]
https://public.kitware.com/mailman/listinfo/rtk-users

Reply via email to