summaryrefslogtreecommitdiff
path: root/app/graphql/types/diff_refs_type.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-16 00:07:33 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-16 00:07:33 +0000
commit6af29c941af34330dd4f9ed9c513823d8067243b (patch)
tree951285a5149a57207a5a28f1be89d3d56a4e16c1 /app/graphql/types/diff_refs_type.rb
parent8a04ac238cdbe9aa804c5f145207baa67403eadd (diff)
downloadgitlab-ce-6af29c941af34330dd4f9ed9c513823d8067243b.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql/types/diff_refs_type.rb')
-rw-r--r--app/graphql/types/diff_refs_type.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/graphql/types/diff_refs_type.rb b/app/graphql/types/diff_refs_type.rb
index 33a5780cd68..03d080d784b 100644
--- a/app/graphql/types/diff_refs_type.rb
+++ b/app/graphql/types/diff_refs_type.rb
@@ -6,9 +6,12 @@ module Types
class DiffRefsType < BaseObject
graphql_name 'DiffRefs'
- field :head_sha, GraphQL::STRING_TYPE, null: false, description: 'The sha of the head at the time the comment was made'
- field :base_sha, GraphQL::STRING_TYPE, null: false, description: 'The merge base of the branch the comment was made on'
- field :start_sha, GraphQL::STRING_TYPE, null: false, description: 'The sha of the branch being compared against'
+ field :head_sha, GraphQL::STRING_TYPE, null: false,
+ description: 'SHA of the HEAD at the time the comment was made'
+ field :base_sha, GraphQL::STRING_TYPE, null: false,
+ description: 'Merge base of the branch the comment was made on'
+ field :start_sha, GraphQL::STRING_TYPE, null: false,
+ description: 'SHA of the branch being compared against'
end
# rubocop: enable Graphql/AuthorizeTypes
end