4 lines
123 B
Bash
Executable file
4 lines
123 B
Bash
Executable file
#!/bin/sh
|
|
pushd ../../
|
|
git diff master --name-only | egrep \\.\(c\|cpp\|h\|hpp\)$ | xargs clang-format -style=file -i
|
|
popd
|