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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
6e2a6d92
Commit
6e2a6d92
authored
12 years ago
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup after prev commit
parent
80ddd2c0
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
app/controllers/commits_controller.rb
app/controllers/commits_controller.rb
+0
-1
config/initializers/gitlabhq/20_grit_ext.rb
config/initializers/gitlabhq/20_grit_ext.rb
+0
-7
No files found.
app/controllers/commits_controller.rb
View file @
6e2a6d92
require
'benchmark'
require
"base64"
require
"base64"
class
CommitsController
<
ApplicationController
class
CommitsController
<
ApplicationController
...
...
This diff is collapsed.
Click to expand it.
config/initializers/gitlabhq/20_grit_ext.rb
View file @
6e2a6d92
...
@@ -40,13 +40,6 @@ Grit::GitRuby::Internal::RawObject.class_eval do
...
@@ -40,13 +40,6 @@ Grit::GitRuby::Internal::RawObject.class_eval do
content
.
force_encoding
(
"UTF-8"
)
content
.
force_encoding
(
"UTF-8"
)
end
end
end
end
def
z_binary?
(
string
)
string
.
each_byte
do
|
x
|
x
.
nonzero?
or
return
true
end
false
end
end
end
...
...
This diff is collapsed.
Click to expand it.
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