<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/kde-modules/kde-git-commit-hooks, branch v5.83.0-rc1</title>
<subtitle>hurd extra-cmake-modules.git</subtitle>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/'/>
<entry>
<title>Provide fallback error when no .clang-format file is present</title>
<updated>2021-05-27T14:37:24+00:00</updated>
<author>
<name>Andreas Cord-Landwehr</name>
<email>cordlandwehr@kde.org</email>
</author>
<published>2021-05-27T14:37:24+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=07854bb9f0ac1ad5b5fad757395e04824c3fe9f3'/>
<id>07854bb9f0ac1ad5b5fad757395e04824c3fe9f3</id>
<content type='text'>
This check fixes a probably rare case, where we land in a repository
that contains this clang-format.sh hook but where the format file went
missing. In such cases, clang-format falls back to the system defaults,
which brings undesired defaults, e.g. enforced line breaks in comments
after 90 chars, which cannot easily be reverted by a reformat.

Since clang-format's --fallback-style=none option is not available for
git clang-format, this comment reimplements the logic.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This check fixes a probably rare case, where we land in a repository
that contains this clang-format.sh hook but where the format file went
missing. In such cases, clang-format falls back to the system defaults,
which brings undesired defaults, e.g. enforced line breaks in comments
after 90 chars, which cannot easily be reverted by a reformat.

Since clang-format's --fallback-style=none option is not available for
git clang-format, this comment reimplements the logic.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add cmake function to configure git pre-commit hooks</title>
<updated>2021-01-16T08:50:13+00:00</updated>
<author>
<name>Alexander Lohnau</name>
<email>alexander.lohnau@gmx.de</email>
</author>
<published>2021-01-11T19:39:06+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=45edd1b17051def13c157cba3b01fac53364149c'/>
<id>45edd1b17051def13c157cba3b01fac53364149c</id>
<content type='text'>
This will allow us to force QS checks before
the developer commits a change. Currently only
clang-format is supported, but as on #plasma and
https://phabricator.kde.org/T11214 discussed we
might want to add different formatters.

By making the checks configurable we are flexible
and can easily extend it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will allow us to force QS checks before
the developer commits a change. Currently only
clang-format is supported, but as on #plasma and
https://phabricator.kde.org/T11214 discussed we
might want to add different formatters.

By making the checks configurable we are flexible
and can easily extend it.
</pre>
</div>
</content>
</entry>
</feed>
