<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">I have a question about how to deal with bunch of patches which depends one on another.</div><div class="">I did patch to neutron (<a href="https://review.openstack.org/#/c/449831/" class="">https://review.openstack.org/#/c/449831/</a>) which is not merged yet but I wanted to start also another patch which is depend on this one (<a href="https://review.openstack.org/#/c/457816/" class="">https://review.openstack.org/#/c/457816/</a>).</div><div class="">Currently I was trying to do something like:</div><div class="">1. git review -d <first patch id></div><div class="">2. git checkout -b new_branch_for_second_patch</div><div class="">3. Make second patch, commit all changes</div><div class="">4. git review <— this will ask me if I really want to push two patches to gerrit so I answered „yes”</div><div class=""><br class=""></div><div class="">Everything is easy for me as long as I’m not doing more changes in first patch. How I should work with it if I let’s say want to change something in first patch and later I want to make another change to second patch? IIRC when I tried to do something like that and I made „git review” to push changes in second patch, first one was also updated (and I lost changes made for this one in another branch).</div><div class="">How I should work with something like that? Is there any guide about that (I couldn’t find such)?</div><div class=""><div class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline">— </div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Best regards</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Slawek Kaplonski</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="mailto:slawek@kaplonski.pl" class="">slawek@kaplonski.pl</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>

<br class=""></div></div></body></html>