summaryrefslogtreecommitdiffstats
path: root/git_hooks
diff options
context:
space:
mode:
authorVincent COUVERT <vincent.couvert@scilab-enterprises.com>2015-05-13 14:55:51 +0200
committerVincent COUVERT <vincent.couvert@scilab-enterprises.com>2015-05-13 14:55:51 +0200
commit143fc5770bc8cadc18302ef3aa48a2c2103bb94b (patch)
treeab1ca39aa5eae08019443baef3ced4120b60d637 /git_hooks
parentb4e914de1bb68b93c83f7cce22298ab55badc3f9 (diff)
downloadscilab-143fc5770bc8cadc18302ef3aa48a2c2103bb94b.zip
scilab-143fc5770bc8cadc18302ef3aa48a2c2103bb94b.tar.gz
Revert modification pushed by error (https://codereview.scilab.org/#/c/15725/), indent of Scilab files deactivated :(
Change-Id: I5799eae30824b28035f93f5923b133b880e68f0c
Diffstat (limited to 'git_hooks')
-rwxr-xr-xgit_hooks/pre-commit4
1 files changed, 2 insertions, 2 deletions
diff --git a/git_hooks/pre-commit b/git_hooks/pre-commit
index 0f4e39a..2fce661 100755
--- a/git_hooks/pre-commit
+++ b/git_hooks/pre-commit
@@ -109,8 +109,8 @@ indent() {
109 FILES=$(git diff --cached --name-only --diff-filter=ACM $against |grep -E "\.java$" |grep -v -F "$ASTYLE_IGNORED") 109 FILES=$(git diff --cached --name-only --diff-filter=ACM $against |grep -E "\.java$" |grep -v -F "$ASTYLE_IGNORED")
110 [ -z "$FILES" ] || __indent_java; 110 [ -z "$FILES" ] || __indent_java;
111 111
112# FILES=$(git diff --cached --name-only --diff-filter=ACM $against |grep -E "\.(sce|sci|tst)$") 112 FILES=$(git diff --cached --name-only --diff-filter=ACM $against |grep -E "\.(sce|sci|tst)$")
113# [ -z "$FILES" ] || __indent_scilab; 113 [ -z "$FILES" ] || __indent_scilab;
114 114
115 return 0; 115 return 0;
116} 116}