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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5e2bce0f
Commit
5e2bce0f
authored
Aug 13, 2014
by
Ben Bodenmiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change git to git bin path
parent
1d04a6fd
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 @
5e2bce0f
...
...
@@ -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