summaryrefslogtreecommitdiff
path: root/misc/hooks/pre-commit-clang-format
AgeCommit message (Collapse)Author
2020-04-24Git Hooks: Suppress "which" error messages.bruvzg
2020-04-21Git Hooks: Add support for GUI git clients.bruvzg
[ci skip]
2020-03-30Hooks: Use pygmentize if available to visualize diffRémi Verschelde
2020-03-30Hooks: Add pre-commit hook for psf/black formattingRémi Verschelde
2019-09-04Split the Android platform java logic into an Android library module (`lib`) ↵fhuya
and an application module (`app`). The application module `app` serves double duties of providing the prebuilt Godot binaries ('android_debug.apk', 'android_release.apk') and the Godot custom build template ('android_source.zip').
2019-08-27Style: Don't apply clang-format to platform/android/java/src/comRémi Verschelde
2018-10-02Style: Fix clang-format pre-commit hook for java and glslRémi Verschelde
2018-08-27Style: Enable clang-format on GLSL shadersRémi Verschelde
As of clang-format 6.0.1, putting the `/* clang-format off */` hint around our "invalid" `[vertex]` and `[shader]` statements isn't enough to prevent a bogus indent of the next comments and first valid statement, so we need to enclose that first valid statement in the unformatted chunk.
2018-03-06Change shebang of pre-commit-clang-format hook to make it portablerobfram
The default one is "#!/bin/bash", but BSD systems doesn't have bash in that path. For portability reasons, it should be changed to "#!/usr/bin/env bash". More info: https://en.wikipedia.org/wiki/Shebang_%28Unix%29#Portability
2017-12-10Style: Apply clang-format to Java filesRémi Verschelde
Only those from org/godotengine/godot though, not the thirdparty ones.
2017-09-02Fix typos 'a' and 'an'Poommetee Ketson
2017-04-09squish: Update to upstream version 1.15Rémi Verschelde
Also fix clang-format pre-commit hook to ignore thirdparty files.
2017-04-09Style: Apply clang-format (3.9.1) to Obj-C++ filesRémi Verschelde
2017-02-12clang-format: Add pre-commit hookRémi Verschelde
Derived from https://github.com/githubbrowser/Pre-commit-hooks and https://gitlab.cern.ch/GeantV/geant/blob/master/hooks/pre-commit-clang-format