John Ye | 27d127b | 2015-01-22 13:41:48 +0800 | [diff] [blame] | 1 | #!/bin/bash |
Wind Yuan | 75564b1 | 2015-01-15 06:51:15 -0500 | [diff] [blame] | 2 | |
John Ye | 27d127b | 2015-01-22 13:41:48 +0800 | [diff] [blame] | 3 | git status -s | grep -E "\.cpp$|\.h$" | cut -c4- | xargs astyle --indent=spaces=4 --convert-tabs --pad-oper --suffix=none |