Skip to content

KDEGitCommitHooks: don't overwrite git pre-commit hook script

Ahmad Samir requested to merge work/ahmad/format into master

If the .git/hooks/pre-commit already exists, only add the clang-format line if it doesn't already exist.


If clang-format isn't found, there is nothing to write to the file.

Merge request reports