Commit 6438e259 authored by Iustin Pop's avatar Iustin Pop
Browse files

Add a Makefile rule to test unclean git status

This is trivial, but can be used easily from automated builds to check
that the git tree is clean: files are not modified and untracked files
are not present.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarBernardo Dal Seno <>
parent 3228c07a
......@@ -1520,6 +1520,14 @@ live-test: all
commit-check: distcheck lint apidoc
.PHONY: gitignore-check
@if [ -n "`git status --short`" ]; then \
echo "Git status is not clean!" 1>&2 ; \
git status --short; \
exit 1; \
-include ./Makefile.local
# vim: set noet :
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment