tweaking pre-commit stash behavior to support grunt