diff options
author | Julian Andres Klode <jak@debian.org> | 2017-06-28 10:43:06 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-06-28 15:52:38 +0200 |
commit | 3cb78eef6fd8dcfa964c4ebb83db71efc8cabd64 (patch) | |
tree | 197017ad66aca4cbdf7e097014d194b402a26fa3 /git-clang-format.sh | |
parent | fc251c8c9e2a76ab5c350900e9e032830c81e2b3 (diff) |
Add clang-format definitions
Also add git-clang-format helper to help with }}}
Gbp-Dch: ignore
Diffstat (limited to 'git-clang-format.sh')
-rwxr-xr-x | git-clang-format.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git-clang-format.sh b/git-clang-format.sh new file mode 100755 index 000000000..7cbb5ccd7 --- /dev/null +++ b/git-clang-format.sh @@ -0,0 +1,2 @@ +#!/bin/sh +git clang-format-3.8 --diff "$@" | sed "s#+/\*\}\}\}\*/#+ /*}}}*/#" | patch -p1 |