Code

git-commit: Disallow amend if it is going to produce an empty non-merge commit