summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/repository/queries/blob_info.query.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/repository/queries/blob_info.query.graphql')
-rw-r--r--app/assets/javascripts/repository/queries/blob_info.query.graphql7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/repository/queries/blob_info.query.graphql b/app/assets/javascripts/repository/queries/blob_info.query.graphql
index cf3892802fd..45d1ba80917 100644
--- a/app/assets/javascripts/repository/queries/blob_info.query.graphql
+++ b/app/assets/javascripts/repository/queries/blob_info.query.graphql
@@ -9,13 +9,19 @@ query getBlobInfo($projectPath: ID!, $filePath: String!, $ref: String!) {
}
pathLocks {
nodes {
+ id
path
+ user {
+ id
+ username
+ }
}
}
repository {
empty
blobs(paths: [$filePath], ref: $ref) {
nodes {
+ id
webPath
name
size
@@ -28,6 +34,7 @@ query getBlobInfo($projectPath: ID!, $filePath: String!, $ref: String!) {
forkAndEditPath
ideForkAndEditPath
canModifyBlob
+ canCurrentUserPushToBranch
storedExternally
rawPath
replacePath