[U-Boot] [PATCH v2] AT91SAM9XE add embedded flash support

Andreas Bießmann andreas.devel at googlemail.com
Mon Aug 9 08:34:22 CEST 2010


Dear Reinhard Meyer,

Am 09.08.2010 07:13, schrieb Reinhard Meyer:
> Wolfgang Denk wrote:
>> Dear "Reinhard Meyer (-VC)",
> So, simple question: how do I get a new patch against the original
> state after editing the file?

first of all you might want to have your patch against the current state
(not the one it was when you introduced your patch).

'git rebase' does the trick, e.g. 'git checkout <my patch branch> && git
rebase master'

Then you might want to do some changes to your first patch. Do them, and
a) 'git commit --amend' to add your changes to the very last commit
or b) 'git commit' a new commit and then use 'git rebase -i' to squash
the one in question together.

> commit + format-patch master does
> not do the trick. It produces a patch with the new changes only.
> 
> Reinhard

rergards

Andreas Bießmann


More information about the U-Boot mailing list