4 N
=`git clean -n | wc -l`
5 C
=`git diff --stat HEAD | wc -l`
7 test x
"$N" != x
"0" && {
8 echo "The tree has uncommitted changes!!! see stderr"
9 echo "The tree has uncommitted changes!!!" >&2
11 echo "git clean -n" >&2
14 test x
"$C" != x
"0" && {
15 echo "git diff -p --stat HEAD" >&2
16 git
diff -p --stat HEAD
>&2
22 test x
"$C" != x
"0" && {
23 echo "The tree has uncommitted changes!!! see stderr"
24 echo "The tree has uncommitted changes!!!" >&2
26 echo "git diff -p --stat HEAD" >&2
27 git
diff -p --stat HEAD
>&2