[TYPO3-core] How to update older patch sets to new master situation?

Xavier Perseguers xavier at typo3.org
Tue Jun 21 13:44:24 CEST 2011


> I almost wanted to make the modifications manually (it's only two lines
> which are changed/added), but to make Gerrit understand that it is a new
> version of an existing patch I probably have to tinker with the commit
> message...

Quick and (a bit) dirty but working way:

- cherry-pick or apply patch on a fresh branch
- if commit message was not taken (patch), copy/paste it with gerrit 
reference (do not forget to reset the original author with --author !!!)
- commit amend to generate a new hash
- push


Xavier Perseguers
Release Manager TYPO3 4.6

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

More information about the TYPO3-team-core mailing list