[cosmetics] indent_add.sh shell script added
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Sun, 13 Dec 2009 06:12:41 +0000 (01:12 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Sun, 13 Dec 2009 06:12:41 +0000 (01:12 -0500)
This script indents and does 'git add' to specified files.

indent_add.sh [new file with mode: 0644]

diff --git a/indent_add.sh b/indent_add.sh
new file mode 100644 (file)
index 0000000..a8a9421
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+indent -bap -bc -bfda -bfde -bl -bli2 -bls -cbi2 -cdb -cdw -nce -ci2 -cli2 -i2 -ip2 -kr -l79 -lp -ncs -nhnl -pcs -pi2 -ppi2 -prs -psl -saf -sai -saw -sc -sob -ts2 $*
+git add $*