summaryrefslogtreecommitdiff
path: root/git-clang-format.sh
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug where ./git-clang-format.sh errors incorrectlyWesley Schwengle2024-01-251-0/+2
| | | | | | | | | | | | | | When running the following command twice: ./git-clang-format.sh $(git merge-base HEAD @{u}) The tool previously errored with the following message: patch: **** Only garbage was found in the patch input. This is because on a second run there is nothing to patch. Fix that small issue by excluding the line 'clang-format did not modify any files' and the line 'no modified files to format' Signed-off-by: Wesley Schwengle <wesleys@opperschaap.net>
* use the newest available git-clang-format in PATHDavid Kalnischkies2017-12-131-1/+8
| | | | | | | | | Hardcoding a specific version is sad as default versions change over time, so instead of tying us to a specific clang version we let the script figure out a good version by looking at what is available in PATH. Gbp-Dch: Ignore
* formatter: support running from subdirectoriesDavid Kalnischkies2017-07-031-0/+1
| | | | Gbp-Dch: Ignore
* Add clang-format definitionsJulian Andres Klode2017-06-281-0/+2
Also add git-clang-format helper to help with }}} Gbp-Dch: ignore