Changed GIT_DIR variable into DOT_GIT_DIR, since Git uses it and chokes if
the variable is set explicitly by gitflow.
diff --git a/gitflow-common b/gitflow-common
index 9a5d428..ccd53a6 100644
--- a/gitflow-common
+++ b/gitflow-common
@@ -46,7 +46,7 @@
# loading settings that can be overridden using git config
gitflow_load_settings() {
- export GIT_DIR=$(git rev-parse --git-dir >/dev/null 2>&1)
+ export DOT_GIT_DIR=$(git rev-parse --git-dir >/dev/null 2>&1)
export MASTER_BRANCH=$(git config --get gitflow.branch.master || echo master)
export DEVELOP_BRANCH=$(git config --get gitflow.branch.develop || echo develop)
export ORIGIN=$(git config --get gitflow.origin || echo origin)