Class SubmitWithStickyApprovalDiff


  • public class SubmitWithStickyApprovalDiff
    extends Object
    This class is used on submit to compute the diff between the latest approved patch-set, and the current submitted patch-set.

    Latest approved patch-set is defined by the latest patch-set which has Code-Review label voted with the maximum possible value.

    If the latest approved patch-set is the same as the submitted patch-set, the diff will be empty.

    We exclude the magic files from the returned diff to make it shorter and more concise.