Generally I prefer doing "git cherry-pick" while porting fixes between
branches for following reasons

- It is less error-prone as you don¹t end up missing a change that is
possible if you create a patch.
- When you see conflicts you are limited to resolving the conflict for
only that change. 
- This approach will maintain revision history as the changes will be
committed under the same description in both branches
- The Apache JIRA will have comments with commits for both branches.

Creating a single patch is best when merging a large feature that was
stabilized in a feature branch into the parent branch.

Thanks
Jayush

On 1/25/16, 4:27 PM, "jun aoki" <[email protected]> wrote:

>Hi Ambari committers,
>
>We have a few jiras that have been committed to trunk but were held of
>branch-2.2 as it was locked.
>Now the branch is unlocked and we are ready to start backporting them.
>
>We are thinking of a process to create a jira, and consolidate the patches
>and create a single consolidated patch and attach to the jira, commit it,
>rather recreate many patches for each jira.
>Let us know how you guys do backporting, especially upon a previously
>locked branch.
>
>AMBARI-14656
>AMBARI-14713
>AMBARI-13439 <https://issues.apache.org/jira/browse/AMBARI-13439>
>AMBARI-14752 <https://issues.apache.org/jira/browse/AMBARI-14752>
>AMBARI-14732 <https://issues.apache.org/jira/browse/AMBARI-14732>
>AMBARI-14763 <https://issues.apache.org/jira/browse/AMBARI-14763>
>
>
>
>-- 
>-jun

Reply via email to