post-commit hook: clean before stashing
post-commit hook: negate dirty index check