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
47e510e1
Commit
47e510e1
authored
Jan 19, 2013
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small fixes
parent
75447fb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
config/initializers/2_app.rb
config/initializers/2_app.rb
+1
-1
lib/tasks/gitlab/info.rake
lib/tasks/gitlab/info.rake
+1
-1
No files found.
config/initializers/2_app.rb
View file @
47e510e1
...
@@ -3,6 +3,6 @@ module Gitlab
...
@@ -3,6 +3,6 @@ module Gitlab
Revision
=
`git log --pretty=format:'%h' -n 1`
Revision
=
`git log --pretty=format:'%h' -n 1`
def
self
.
config
def
self
.
config
Settings
Settings
end
end
end
end
lib/tasks/gitlab/info.rake
View file @
47e510e1
...
@@ -55,7 +55,7 @@ namespace :gitlab do
...
@@ -55,7 +55,7 @@ namespace :gitlab do
# check Gitolite version
# check Gitolite version
gitolite_version_file
=
"
#{
Gitlab
.
config
.
gitolite
.
repos_path
}
/../gitolite/src/VERSION"
gitolite_version_file
=
"
#{
Gitlab
.
config
.
gitolite
.
repos_path
}
/../gitolite/src/VERSION"
if
File
.
exists?
(
gitolite_version_file
)
&&
File
.
readable?
(
gitolite_version_file
)
if
File
.
readable?
(
gitolite_version_file
)
gitolite_version
=
File
.
read
(
gitolite_version_file
)
gitolite_version
=
File
.
read
(
gitolite_version_file
)
end
end
...
...
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