diff options
Diffstat (limited to 'git-clang-format.sh')
-rwxr-xr-x | git-clang-format.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git-clang-format.sh b/git-clang-format.sh index 7cbb5ccd7..d374b66bd 100755 --- a/git-clang-format.sh +++ b/git-clang-format.sh @@ -1,2 +1,3 @@ #!/bin/sh +cd "$(dirname "$0")" git clang-format-3.8 --diff "$@" | sed "s#+/\*\}\}\}\*/#+ /*}}}*/#" | patch -p1 |