Pārlūkot izejas kodu

working on change name

Former-commit-id: d5a00b46f119646a05923014fd0326bea6044efc
Alec Jacobson 11 gadi atpakaļ
vecāks
revīzija
cdfdd3fe20
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  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
+