fix beautification script (#745)
This commit is contained in:
parent
9c70ac1a01
commit
6cf0fab004
1 changed files with 3 additions and 1 deletions
|
@ -1,2 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
git diff master --name-only | egrep \\.\(c\|cpp\|h\|hpp\)$ | xargs clang-format -i
|
pushd ../../
|
||||||
|
git diff master --name-only | egrep \\.\(c\|cpp\|h\|hpp\)$ | xargs clang-format -style=file -i
|
||||||
|
popd
|
||||||
|
|
Loading…
Reference in a new issue