Show error on shallow repositories
Show error on shallow repositories

If a repository is shallow, we do not have access to the whole history,
which will cause our commit lookups to fail.

If a shallow repository is detected, an appropriate message is printed
out and the program exits.

kimmobrunfeldt/git-hours,mrPjer/git-hours