[Rtk-users] Error message at commit time

Jerome Lesaint lesaint.jerome at gmail.com
Thu Apr 1 04:34:22 EDT 2021


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 <simon.rit at creatis.insa-lyon.fr> 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 <lesaint.jerome at gmail.com>
> 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
>> Rtk-users at public.kitware.com
>> https://public.kitware.com/mailman/listinfo/rtk-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20210401/4494f424/attachment.htm>


More information about the Rtk-users mailing list