aboutsummaryrefslogtreecommitdiff
path: root/util/pre-commit.py
diff options
context:
space:
mode:
Diffstat (limited to 'util/pre-commit.py')
-rwxr-xr-xutil/pre-commit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/pre-commit.py b/util/pre-commit.py
index 9282854..ca1dc35 100755
--- a/util/pre-commit.py
+++ b/util/pre-commit.py
@@ -7,7 +7,7 @@ import glob
import license
# stash unstaged files before running test
-os.system("git stash -q --keep-index")
+#os.system("git stash -q --keep-index")
#print("Running pre-commit hook in {0}".format(os.getcwd()))
problems = False
@@ -28,7 +28,7 @@ if len(astyle.stdout.splitlines()) > 0:
print("Run <<astyle --options=astyle.rc --suffix=none src/**/*.cpp src/**/*.h>> to autofix")
# restore stash
-os.system("git stash pop -q")
+#os.system("git stash pop -q")
if problems:
sys.exit(-1)