Add a field to DiffSet for storing the commit ID a change is based on.
Review Request #4397 — Created Aug. 5, 2013 and submitted — Latest diff uploaded
Add a field to DiffSet for storing the commit ID a change is based on. This field can be set when uploading a diff via the API. We can make use of it for certain hosting services that only provide file fetching APIs that take Git commit SHA1s instead of blob SHA1s. The field is optional. RBTools will be updated to set it for Git, but it will otherwise be used only as needed. This will be backported to release-1.7.x, but some work needs to be done. (The tests we modify, for instance, don't exist there.)
Posted with an accompanying RBTools change, and saw the commit ID in the database.