Only stash when there are open changes.