git-commit: add more error checks
authorDenis Ovsienko <denis@ovsienko.info>
Sat, 5 Jan 2019 22:58:01 +0000 (22:58 +0000)
committerDenis Ovsienko <denis@ovsienko.info>
Sat, 5 Jan 2019 22:58:01 +0000 (22:58 +0000)
commit1bdcca9621920b4802c3efbd90cc314ae337143c
treec87b0892b5d6184a7812ffbe3f14eb20eb9fbd34
parentf093ae8fe684905ad1430a1173c91a555d691bf1
git-commit: add more error checks

Test that the provided <repodir> is good before making any changes. Test
that git is available. Test that "git add" and "git commit" worked.

Move the default value for COMMITMSG right into the git command. Update
the usage text.

[skip ci]
gateways/git-commit