summaryrefslogtreecommitdiff
path: root/git-clang-format.sh
blob: 7cbb5ccd79638f36b54bdd989e96d56fffc46363 (plain)
1
2
#!/bin/sh
git clang-format-3.8 --diff "$@" | sed "s#+/\*\}\}\}\*/#+									/*}}}*/#" | patch -p1