From 5dce096cf8b645d430bfdce8add8a577b595dc23 Mon Sep 17 00:00:00 2001 From: Oswaldo Ferreira Date: Wed, 19 Sep 2018 12:26:28 +0000 Subject: Use standalone diff stats RPC on every comparison view --- lib/gitlab/git/repository.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gitlab/git/repository.rb') diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb index fa22294ac51..3d5a63bdbac 100644 --- a/lib/gitlab/git/repository.rb +++ b/lib/gitlab/git/repository.rb @@ -444,7 +444,7 @@ module Gitlab end Gitlab::Git::DiffStatsCollection.new(stats) - rescue CommandError + rescue CommandError, TypeError Gitlab::Git::DiffStatsCollection.new([]) end -- cgit v1.2.1