From 8f52501eb579923a86f94efac8286f8897faec93 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 12 Jun 2013 16:43:58 +0300 Subject: Fix inline diff issue. See #3150 --- app/controllers/commit_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/commit_controller.rb') 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 -- cgit v1.2.1