gitcommit: better status check and report
1.0 branch development version
version 1.0.6a

. include forgotten change 0936367420a17b97b02b136976d225b662dff460:
  gitcommit: better status check and report