[Rtk-users] Error message at commit time

Simon Rit simon.rit at creatis.insa-lyon.fr
Fri Mar 26 18:45:10 EDT 2021


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/20210326/0a7c8ba9/attachment.htm>


More information about the Rtk-users mailing list