summaryrefslogtreecommitdiffstats
path: root/git_hooks
diff options
context:
space:
mode:
authorClément DAVID <clement.david@scilab-enterprises.com>2015-12-10 07:28:12 +0100
committerPaul BIGNIER <paul.bignier@scilab-enterprises.com>2015-12-11 16:55:24 +0100
commit2a943c0177c8e873933579909e3817ffc2eb365d (patch)
tree3995c4868db6bfedbe6d9bd76b3085f6b0ac09b2 /git_hooks
parentdd46eab3157f4150f363ce21aaa491c56005c262 (diff)
downloadscilab-2a943c0177c8e873933579909e3817ffc2eb365d.zip
scilab-2a943c0177c8e873933579909e3817ffc2eb365d.tar.gz
Xcos: put ANNOTATION at the end on sortAndFill
On saved files, the objects are sorted per kind. It is much more easier to get the blocks first while debugging content. As the sorting is only performed on the enum value, moving it will perform the job. On the Xcos GUI and as the ANNOTATION will be decoded after the block, they will appears "on top" of the BLOCK and LINK objects which is expected. Change-Id: I966d4229e79f44021c416334c0105b30f894a7cb
Diffstat (limited to 'git_hooks')
-rwxr-xr-xgit_hooks/pre-commit4
1 files changed, 4 insertions, 0 deletions
diff --git a/git_hooks/pre-commit b/git_hooks/pre-commit
index 2fce661..6ffc063 100755
--- a/git_hooks/pre-commit
+++ b/git_hooks/pre-commit
@@ -76,6 +76,10 @@ then
76 echo " git config --add astyle.ignored 'scilab/modules/scinotes/src/java/org/scilab/modules/scinotes/IndentScanner.java' " 76 echo " git config --add astyle.ignored 'scilab/modules/scinotes/src/java/org/scilab/modules/scinotes/IndentScanner.java' "
77 echo " git config --add astyle.ignored 'scilab/modules/scinotes/src/java/org/scilab/modules/scinotes/MatchingBlockScanner.java' " 77 echo " git config --add astyle.ignored 'scilab/modules/scinotes/src/java/org/scilab/modules/scinotes/MatchingBlockScanner.java' "
78 echo " git config --add astyle.ignored 'scilab/modules/scinotes/src/java/org/scilab/modules/scinotes/ScilabLexer.java' " 78 echo " git config --add astyle.ignored 'scilab/modules/scinotes/src/java/org/scilab/modules/scinotes/ScilabLexer.java' "
79 echo " git config --add astyle.ignored 'scilab/modules/xcos/src/java/org/scilab/modules/xcos/Controller.java' "
80 echo " git config --add astyle.ignored 'scilab/modules/xcos/src/java/org/scilab/modules/xcos/JavaController.java' "
81 echo " git config --add astyle.ignored 'scilab/modules/xcos/src/java/org/scilab/modules/xcos/Kind.java' "
82 echo " git config --add astyle.ignored 'scilab/modules/xcos/src/java/org/scilab/modules/xcos/ObjectProperties.java' "
79 echo " git config --add astyle.ignored 'scilab/modules/scicos/src/scicos_sundials/*' " 83 echo " git config --add astyle.ignored 'scilab/modules/scicos/src/scicos_sundials/*' "
80 84
81 echo 85 echo