summaryrefslogtreecommitdiff
path: root/app/controllers/commits_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/commits_controller.rb')
-rw-r--r--app/controllers/commits_controller.rb38
1 files changed, 19 insertions, 19 deletions
diff --git a/app/controllers/commits_controller.rb b/app/controllers/commits_controller.rb
index 1e7aec005f1..83404bdc2db 100644
--- a/app/controllers/commits_controller.rb
+++ b/app/controllers/commits_controller.rb
@@ -26,25 +26,25 @@ class CommitsController < ApplicationController
end
end
- def show
- result = CommitLoad.new(project, current_user, params).execute
-
- @commit = result[:commit]
-
- if @commit
- @suppress_diff = result[:suppress_diff]
- @note = result[:note]
- @line_notes = result[:line_notes]
- @notes_count = result[:notes_count]
- @comments_allowed = true
- else
- return git_not_found!
- end
-
- if result[:status] == :huge_commit
- render "huge_commit" and return
- end
- end
+ # def show
+ # result = CommitLoad.new(project, current_user, params).execute
+
+ # @commit = result[:commit]
+
+ # if @commit
+ # @suppress_diff = result[:suppress_diff]
+ # @note = result[:note]
+ # @line_notes = result[:line_notes]
+ # @notes_count = result[:notes_count]
+ # @comments_allowed = true
+ # else
+ # return git_not_found!
+ # end
+
+ # if result[:status] == :huge_commit
+ # render "huge_commit" and return
+ # end
+ # end
def compare
result = Commit.compare(project, params[:from], params[:to])