Last active
October 19, 2017 15:34
-
-
Save gjtorikian/f5b72bfbd749d71092d684fb4ff12c9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
repository(owner: "facebook", name: "mention-bot") { | |
object(expression: "master") { | |
... on Commit { | |
blame(path: "cookieJar.js") { | |
ranges { | |
startingLine | |
endingLine | |
age | |
commit { | |
message | |
author { | |
name | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"repository": { | |
"object": { | |
"blame": { | |
"ranges": [ | |
{ | |
"startingLine": 1, | |
"endingLine": 1, | |
"age": 10, | |
"commit": { | |
"message": "adding github auth flow", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 2, | |
"endingLine": 9, | |
"age": 10, | |
"commit": { | |
"message": "responding to CR. Not quite working yet", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 10, | |
"endingLine": 11, | |
"age": 10, | |
"commit": { | |
"message": "adding github auth flow", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 12, | |
"endingLine": 12, | |
"age": 10, | |
"commit": { | |
"message": "responding to CR. Not quite working yet", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 13, | |
"endingLine": 13, | |
"age": 10, | |
"commit": { | |
"message": "adding github auth flow", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 14, | |
"endingLine": 14, | |
"age": 10, | |
"commit": { | |
"message": "responding to CR. Not quite working yet", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 15, | |
"endingLine": 16, | |
"age": 10, | |
"commit": { | |
"message": "fix flow", | |
"author": { | |
"name": "Christopher Chedeau" | |
} | |
} | |
}, | |
{ | |
"startingLine": 17, | |
"endingLine": 19, | |
"age": 10, | |
"commit": { | |
"message": "responding to CR. Not quite working yet", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 20, | |
"endingLine": 20, | |
"age": 10, | |
"commit": { | |
"message": "adding github auth flow", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 21, | |
"endingLine": 23, | |
"age": 10, | |
"commit": { | |
"message": "responding to CR. Not quite working yet", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 24, | |
"endingLine": 24, | |
"age": 10, | |
"commit": { | |
"message": "fix flow", | |
"author": { | |
"name": "Christopher Chedeau" | |
} | |
} | |
}, | |
{ | |
"startingLine": 25, | |
"endingLine": 32, | |
"age": 10, | |
"commit": { | |
"message": "responding to CR. Not quite working yet", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 33, | |
"endingLine": 33, | |
"age": 10, | |
"commit": { | |
"message": "fix flow", | |
"author": { | |
"name": "Christopher Chedeau" | |
} | |
} | |
}, | |
{ | |
"startingLine": 34, | |
"endingLine": 47, | |
"age": 10, | |
"commit": { | |
"message": "responding to CR. Not quite working yet", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 48, | |
"endingLine": 48, | |
"age": 10, | |
"commit": { | |
"message": "Fixed typos", | |
"author": { | |
"name": "Pascal Borreli" | |
} | |
} | |
}, | |
{ | |
"startingLine": 49, | |
"endingLine": 63, | |
"age": 10, | |
"commit": { | |
"message": "responding to CR. Not quite working yet", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 64, | |
"endingLine": 64, | |
"age": 10, | |
"commit": { | |
"message": "fix flow", | |
"author": { | |
"name": "Christopher Chedeau" | |
} | |
} | |
}, | |
{ | |
"startingLine": 65, | |
"endingLine": 65, | |
"age": 10, | |
"commit": { | |
"message": "responding to CR. Not quite working yet", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 66, | |
"endingLine": 66, | |
"age": 10, | |
"commit": { | |
"message": "adding github auth flow", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
}, | |
{ | |
"startingLine": 67, | |
"endingLine": 67, | |
"age": 10, | |
"commit": { | |
"message": "responding to CR. Not quite working yet", | |
"author": { | |
"name": "Zeke Nierenberg" | |
} | |
} | |
} | |
] | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This call gives the blame details of the file cookieJar.js which is in the current commit state of the master branch(the commit the master branch is pointing now) is there any way to get the blame of the above file from a desired commit state (by giving the commit hash of the desired commit state)