Disallow committing empty patches by default
commit8c3e7b2179e922d8eefa6fdcd12bd4c5e6c41d0c
authorPeter Grayson <pete@jpgrayson.net>
Mon, 25 Oct 2021 15:29:36 +0000 (25 11:29 -0400)
committerPeter Grayson <pete@jpgrayson.net>
Wed, 27 Oct 2021 01:28:40 +0000 (26 21:28 -0400)
tree7269cc1d32d9117e5c057aa3f72d832a70683c1e
parent1301ad8edeb9a8301fbc4c1e4fbf1b7ad098add9
Disallow committing empty patches by default

`stg commit` now refuses to commit empty patches by default, but also
learns the --allow-empty flag, which mirrors `git commit --allow-empty`,
to override this behavior.

Addresses #158

Signed-off-by: Peter Grayson <pete@jpgrayson.net>
stgit/commands/commit.py
t/t1009-gpg.sh
t/t1303-commit.sh