Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lib/tasks/gitlab/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
...
@@ -322,7 +322,7 @@ namespace :gitlab do
"core.autocrlf"
=>
"input"
"core.autocrlf"
=>
"input"
}
}
correct_options
=
options
.
map
do
|
name
,
value
|
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
end
if
correct_options
.
all?
if
correct_options
.
all?
...
@@ -330,9 +330,9 @@ namespace :gitlab do
...
@@ -330,9 +330,9 @@ namespace :gitlab do
else
else
puts
"no"
.
red
puts
"no"
.
red
try_fixing_it
(
try_fixing_it
(
sudo_gitlab
(
"
git
config --global user.name
\"
#{
options
[
"user.name"
]
}
\"
"
),
sudo_gitlab
(
"
\"
#{
Gitlab
.
config
.
git
.
bin_path
}
\"
config --global user.name
\"
#{
options
[
"user.name"
]
}
\"
"
),
sudo_gitlab
(
"
git
config --global user.email
\"
#{
options
[
"user.email"
]
}
\"
"
),
sudo_gitlab
(
"
\"
#{
Gitlab
.
config
.
git
.
bin_path
}
\"
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 core.autocrlf
\"
#{
options
[
"core.autocrlf"
]
}
\"
"
)
)
)
for_more_information
(
for_more_information
(
see_installation_guide_section
"GitLab"
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