#!/bin/sh -e
#
# git-cm - git commit wrapper. quick commits with message or interactive without
# bare 'cm' enters normal git commit editor, with args a direct `commit -m`

if [ "$#" -gt 0 ]; then
  git commit --message "$*"
else
  git commit --verbose
fi
