File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ will be returned.
3131<%= headers 200 %>
3232<%= json(: full_commit ) %>
3333
34+ Note: Diffs with binary data will have no 'patch' property.
35+
3436## List commit comments for a repository
3537
3638Commit Comments leverage [ these] ( #custom-mime-types ) custom mime types. You can
Original file line number Diff line number Diff line change @@ -243,7 +243,11 @@ def json(key)
243243 "filename" => "file1.txt" ,
244244 "additions" => 10 ,
245245 "deletions" => 2 ,
246- "total" => 12 ,
246+ "changes" => 12 ,
247+ "status" => "modified" ,
248+ "raw_url" => "https://github.com/octocat/Hello-World/raw/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt" ,
249+ "blob_url" => "https://github.com/octocat/Hello-World/blob/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt" ,
250+ "patch" => "@@ -29,7 +29,7 @@\n ....."
247251 } ]
248252 } )
249253
You can’t perform that action at this time.
0 commit comments