Check whether this is a freshly git init'ed repo that's still HEADless. In
that case, don't check if the working tree is clean (this yields errors in
HEADless repos).

This fix enabled users to use "git init && git flow init", too.
2 files changed