From 3cb78eef6fd8dcfa964c4ebb83db71efc8cabd64 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 28 Jun 2017 10:43:06 +0200 Subject: Add clang-format definitions Also add git-clang-format helper to help with }}} Gbp-Dch: ignore --- git-clang-format.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 git-clang-format.sh (limited to 'git-clang-format.sh') 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 -- cgit v1.2.3