projects
/
valse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test auto-indenter
[valse.git]
/
hooks
/
pre-commit
diff --git
a/hooks/pre-commit
b/hooks/pre-commit
index
bf5d735
..
24babdb
100755
(executable)
--- a/
hooks/pre-commit
+++ b/
hooks/pre-commit
@@
-35,7
+35,7
@@
__indent_R() {
echo "Indenting " $file
echo "library(formatR);formatR::tidy_source('$file',comment=TRUE,blank=TRUE,
echo "Indenting " $file
echo "library(formatR);formatR::tidy_source('$file',comment=TRUE,blank=TRUE,
- arrow=TRUE,brace.newline=TRUE,indent=2,width.cutoff=
8
0,file='$file')" | R --slave
+ arrow=TRUE,brace.newline=TRUE,indent=2,width.cutoff=
9
0,file='$file')" | R --slave
git add "$file"
}
git add "$file"
}