Allow fetching patch files for individual commits
Review Request #7131 — Created March 28, 2015 and submitted — Latest diff uploaded
The patch file for an individual commit is now fetchable by sending the
Accept: text/x-patchheader to theDiffCommitResourceand
DraftDiffCommitResource. This patch is composed of the individual
patches for allFileDiffs in theDiffCommit.
Ran unit tests.
Uploaded a review request with commit history and made an HTTP request
to theDiffCommitResourceAPI endpoint with aAccept: text/x-patch
header. The returned response was a patch file that contained only the
diff information forFileDiffs in that commit.