Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitflow
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tools
gitflow
Commits
a7a89cdb
Commit
a7a89cdb
authored
Apr 17, 2011
by
Vincent Driessen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix always-empty value for $DOT_GIT_DIR variable.
This fixes #53.
parent
e024fa45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gitflow-common
gitflow-common
+1
-1
No files found.
gitflow-common
View file @
a7a89cdb
...
@@ -181,7 +181,7 @@ gitflow_is_initialized() {
...
@@ -181,7 +181,7 @@ gitflow_is_initialized() {
# loading settings that can be overridden using git config
# loading settings that can be overridden using git config
gitflow_load_settings() {
gitflow_load_settings() {
export DOT_GIT_DIR=$(git rev-parse --git-dir
>/dev/null 2>&1
)
export DOT_GIT_DIR=$(git rev-parse --git-dir
2>/dev/null
)
export MASTER_BRANCH=$(git config --get gitflow.branch.master)
export MASTER_BRANCH=$(git config --get gitflow.branch.master)
export DEVELOP_BRANCH=$(git config --get gitflow.branch.develop)
export DEVELOP_BRANCH=$(git config --get gitflow.branch.develop)
export ORIGIN=$(git config --get gitflow.origin || echo origin)
export ORIGIN=$(git config --get gitflow.origin || echo origin)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment