summaryrefslogtreecommitdiff
path: root/app/controllers/commit_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-12 16:43:58 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-12 16:43:58 +0300
commit8f52501eb579923a86f94efac8286f8897faec93 (patch)
treeff66e2956ba4be654d951c7bcb85ec96debae7bd /app/controllers/commit_controller.rb
parent5d0929458cc502fd4f4981103d6d3a88ebb8e377 (diff)
downloadgitlab-ce-8f52501eb579923a86f94efac8286f8897faec93.tar.gz
Fix inline diff issue. See #3150
Diffstat (limited to 'app/controllers/commit_controller.rb')
-rw-r--r--app/controllers/commit_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/commit_controller.rb b/app/controllers/commit_controller.rb
index 0f696ef9f5a..a164de33107 100644
--- a/app/controllers/commit_controller.rb
+++ b/app/controllers/commit_controller.rb
@@ -11,7 +11,7 @@ class CommitController < ProjectResourceController
result = CommitLoadContext.new(project, current_user, params).execute
@commit = result[:commit]
-
+
if @commit.nil?
git_not_found!
return