diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-09-19 12:26:28 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-09-19 12:26:28 +0000 |
commit | 5dce096cf8b645d430bfdce8add8a577b595dc23 (patch) | |
tree | 69ac2bf5373bffd1e869d9b1c9f54e2c912cb767 /lib/gitlab/git/repository.rb | |
parent | 3172de0df3801125c23d1811a53d1467dec45645 (diff) | |
download | gitlab-ce-5dce096cf8b645d430bfdce8add8a577b595dc23.tar.gz |
Use standalone diff stats RPC on every comparison view
Diffstat (limited to 'lib/gitlab/git/repository.rb')
-rw-r--r-- | lib/gitlab/git/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |