From: Mike Hommey Date: Sat, 01 Dec 2007 13:43:21 GMT Subject: Re: how to create v2 patch Message-ID: <20071201134321.GA10997@glandium.org> In-Reply-To: <47515EF3.8010507@obry.net> On Sat, Dec 01, 2007 at 02:17:39PM +0100, Pascal Obry wrote: > Tilman Schmidt a écrit : > > Let's say that following the scheme laid out in > > http://www.kernel.org/pub/software/scm/git/docs/everyday.html#Individual%20Developer%20(Participant) > > I have produced a patch, submitted it to LKML, received a few > > comments, committed appropriate changes to my local git tree, > > and now want to submit a revised patch. How do I do that? > > If I just run git-format-patch again, it produces my original > > patch plus a second one containing my updates, but what I need > > is a single new patch replacing the first one. > > Can't you merge both of your changes in your local repository? I would > do that with an interactive rebase. Or just git commit --amend when committing. Mike