Improve output of check-clean-tree.sh script
authorAndrew Bartlett <abartlet@samba.org>
Tue, 14 Apr 2015 00:00:36 +0000 (12:00 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 15 Apr 2015 03:58:19 +0000 (05:58 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
script/clean-source-tree.sh

index d0107f6cd7516081657d4dd97a1e3612625f8648..ea9e6e333ba302f5156021698ce9ce6a50c3838f 100755 (executable)
@@ -5,8 +5,8 @@ N=`git clean -n | wc -l`
 C=`git diff --stat HEAD | wc -l`
 
 test x"$N" != x"0" && {
-       echo "The tree has uncommitted changes!!! see stderr"
-       echo "The tree has uncommitted changes!!!" >&2
+       echo "The tree has $N new uncommitted files!!! see stderr"
+       echo "The tree has $N new uncommitted files!!!" >&2
 
        echo "git clean -n" >&2
        git clean -n >&2