Merge pull request #220 from sanusart/master

Add check for no changes in the tree (no sub-modules)
This commit is contained in:
hemanth.hm 2014-07-09 10:56:25 +05:30
commit 619232ef86

View file

@ -5,6 +5,11 @@ LIST=false
TAG="n.n.n"
GIT_LOG_OPTS=""
if git diff-index --quiet --ignore-submodules HEAD --; then
echo 'No changes to log.';
exit 1;
fi
while [ "$1" != "" ]; do
case $1 in
-l | --list )