summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/projects/commit_box/info/graphql/queries/commit_references.query.graphql
blob: 71d911c2acc9711f5ed94380f8d47671a4ddd8c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
query CommitReferences($fullPath: ID!, $commitSha: String!) {
  project(fullPath: $fullPath) {
    id
    commitReferences(commitSha: $commitSha) {
      containingBranches(excludeTipped: true, limit: 1) {
        names
      }
      containingTags(excludeTipped: true, limit: 1) {
        names
      }
      tippingBranches {
        names
      }
      tippingTags {
        names
      }
    }
  }
}