-
Notifications
You must be signed in to change notification settings - Fork 16
Incorrect behavior / messages on empty directory #70
Copy link
Copy link
Closed
Labels
invalidThis doesn't seem rightThis doesn't seem right
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem right