瀏覽代碼

working on change name

Former-commit-id: d5a00b46f119646a05923014fd0326bea6044efc
Alec Jacobson 11 年之前
父節點
當前提交
cdfdd3fe20
共有 1 個文件被更改,包括 6 次插入0 次删除
  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
+