I want to introduce this check in pre-commit hooks:
if git name-rev --name-only HEAD | grep -q testing then exit 0 fi if git branch -r --merged `git name-rev --n