release.sh: use git-diff --quiet instead of git status
git status in git-1.7 always returns 0, regardless of the number of
uncommitted changes [1]. This breaks the current script. Replace with a git
diff --quiet HEAD instead, that's sufficient for our use-case here.
[1] commit
9e4b7ab6525 "git status: not "commit --dry-run" anymore"
in the git source tree
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Gaetan Nadon <memsize@videotron.ca>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Julien Cristau <jcristau@debian.org>