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