Skip to content
Snippets Groups Projects
Commit 3816387c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'master' of github.com:gitlabhq/gitlabhq

parents e06e5633 9db06da4
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -11,7 +11,11 @@ class CommitController < ProjectResourceController
result = CommitLoadContext.new(project, current_user, params).execute
 
@commit = result[:commit]
git_not_found! unless @commit
if @commit.nil?
git_not_found!
return
end
 
@suppress_diff = result[:suppress_diff]
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment