Explorar o código

working on change name

Former-commit-id: d5a00b46f119646a05923014fd0326bea6044efc
Alec Jacobson %!s(int64=11) %!d(string=hai) anos
pai
achega
cdfdd3fe20
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      scripts/change_name.sh

+ 6 - 0
scripts/change_name.sh

@@ -33,3 +33,9 @@ then
   exit 1
 fi
 
+if git status | grep -v --quiet "nothing to commit, working directory clean"
+then
+  echo "Error: git is not committed or not clean"
+  exit 1
+fi
+