BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
e088777e
Commit
e088777e
authored
Sep 05, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7470 from bbodenmiller/patch-1
change git to git bin path
parents
cd8503e3
5e2bce0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
check.rake
lib/tasks/gitlab/check.rake
+4
-4
No files found.
lib/tasks/gitlab/check.rake
View file @
e088777e
...
...
@@ -322,7 +322,7 @@ namespace :gitlab do
"core.autocrlf"
=>
"input"
}
correct_options
=
options
.
map
do
|
name
,
value
|
run
(
%W(
git
config --global --get
#{
name
}
)
).
try
(
:squish
)
==
value
run
(
%W(
#{
Gitlab
.
config
.
git
.
bin_path
}
config --global --get
#{
name
}
)
).
try
(
:squish
)
==
value
end
if
correct_options
.
all?
...
...
@@ -330,9 +330,9 @@ namespace :gitlab do
else
puts
"no"
.
red
try_fixing_it
(
sudo_gitlab
(
"
git
config --global user.name
\"
#{
options
[
"user.name"
]
}
\"
"
),
sudo_gitlab
(
"
git
config --global user.email
\"
#{
options
[
"user.email"
]
}
\"
"
),
sudo_gitlab
(
"
git
config --global core.autocrlf
\"
#{
options
[
"core.autocrlf"
]
}
\"
"
)
sudo_gitlab
(
"
\"
#{
Gitlab
.
config
.
git
.
bin_path
}
\"
config --global user.name
\"
#{
options
[
"user.name"
]
}
\"
"
),
sudo_gitlab
(
"
\"
#{
Gitlab
.
config
.
git
.
bin_path
}
\"
config --global user.email
\"
#{
options
[
"user.email"
]
}
\"
"
),
sudo_gitlab
(
"
\"
#{
Gitlab
.
config
.
git
.
bin_path
}
\"
config --global core.autocrlf
\"
#{
options
[
"core.autocrlf"
]
}
\"
"
)
)
for_more_information
(
see_installation_guide_section
"GitLab"
...
...
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