Allow fetching patch files for individual commits

Review Request #7131 — Created March 28, 2015 and submitted — Latest diff uploaded

Information

Review Board
dvcs
4b3d41f...

Reviewers

The patch file for an individual commit is now fetchable by sending the
Accept: text/x-patch header to the DiffCommitResource and
DraftDiffCommitResource. This patch is composed of the individual
patches for all FileDiffs in the DiffCommit.

Ran unit tests.

Uploaded a review request with commit history and made an HTTP request
to the DiffCommitResource API endpoint with a Accept: text/x-patch
header. The returned response was a patch file that contained only the
diff information for FileDiffs in that commit.

    Loading...