I created an empty directory that was supposed to contain a git repo but instead of git init I typed git flow init instead.
git-flow-next printed the following text:
$ git flow init
Found existing git-flow-avh configuration, importing...
Successfully imported git-flow-avh configuration
Git flow has been initialized
But... a really empty directory can't have an existing git-flow-avh config and whatever is said to have been initialized didn't happen, because the directory is still empty afterwards; there is no .git directory or anything else before or after.
Instead of the current behavior I would have expected an error that the directory isn't a git repo and that I need to perform git init first, or maybe I might have expected that git flow init calls git init automatically in this case or asks if this should be done.
I created an empty directory that was supposed to contain a git repo but instead of git init I typed git flow init instead.
git-flow-next printed the following text:
But... a really empty directory can't have an existing git-flow-avh config and whatever is said to have been initialized didn't happen, because the directory is still empty afterwards; there is no .git directory or anything else before or after.
Instead of the current behavior I would have expected an error that the directory isn't a git repo and that I need to perform git init first, or maybe I might have expected that git flow init calls git init automatically in this case or asks if this should be done.