<div dir="auto">Direct push is typically Christoph and me. But I don't see that a big issue: feel free to run clang-format any time.<div dir="auto"><br></div><div dir="auto">Best regards</div><div dir="auto">Dominik</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Christoph Cullmann <<a href="mailto:christoph@cullmann.io">christoph@cullmann.io</a>> schrieb am So., 6. Okt. 2019, 13:47:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2019-10-06 13:29, Albert Astals Cid wrote:<br>
> El diumenge, 6 d’octubre de 2019, a les 13:17:54 CEST, Mark<br>
> Nauwelaerts va escriure:<br>
>> Hi All,<br>
>> <br>
>> Recently a .clang-format file was added to kate repo along with a <br>
>> reformat.sh<br>
>> helper script to suitably format all files. However, applying the <br>
>> latter script<br>
>> (again) shows a diff, where presumably the ideal intention is that <br>
>> there is no diff.<br>
>> <br>
>> So, maybe some sort of format/linting should or could be added? <br>
>> Perhaps by means<br>
>> of a git-commit hook, or some automated job (like translations) that<br>
>> auto-formats in case some author did not format accordingly?<br>
> <br>
> Since kate is in <a href="http://invent.kde.org" rel="noreferrer noreferrer" target="_blank">invent.kde.org</a> a CI job that makes sure the<br>
> formatting is correct is the solution.<br>
> <br>
> That way no commit will go in without being checked.<br>
> <br>
> Except for the people that do direct pushes ;)<br>
<br>
CI support would be great.<br>
<br>
At the moment just feel free to push the reformat commit.<br>
<br>
Greetings<br>
Christoph<br>
<br>
> <br>
> Cheers,<br>
> Albert<br>
> <br>
>> <br>
>> Regards,<br>
>> Mark<br>
>> <br>
<br>
-- <br>
Ignorance is bliss...<br>
<a href="https://cullmann.io" rel="noreferrer noreferrer" target="_blank">https://cullmann.io</a> | <a href="https://kate-editor.org" rel="noreferrer noreferrer" target="_blank">https://kate-editor.org</a><br>
</blockquote></div>