git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: how to create v2 patch

From
TSTilman Schmidt <tilman@imap.cc>
Date
Dec 6, 2007, 20:04 UTC
Message-ID
<475855D6.201@imap.cc>
In-Reply-To
<20071201134321.GA10997@glandium.org>
Am 01.12.2007 14:43 schrieb Mike Hommey:
Show 12 quoted lines
> On Sat, Dec 01, 2007 at 02:17:39PM +0100, Pascal Obry wrote:
>> Tilman Schmidt a écrit :
>>> 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.

Hmm. But wouldn't each of these approaches lead to my original commit being removed from my git repository? And isn't removing commits that have already been published strongly discouraged?

Thx T.

-- 
Tilman Schmidt                          E-Mail: tilman@imap.cc
Bonn, Germany
Yes, I have searched Google!
Previous: Mike HommeyNext: Jan Hudec
Message 4 of 10 in “how to create v2 patch”
  1. Tilman SchmidtDec 1, 2007
  2. Pascal ObryDec 1, 2007
  3. Mike HommeyDec 1, 2007
  4. Tilman SchmidtDec 6, 2007
  5. Jan HudecDec 6, 2007
  6. Pascal ObryDec 6, 2007
  7. Andreas EricssonDec 6, 2007
  8. Wincent ColaiutaDec 7, 2007
  9. Jakub NarebskiDec 1, 2007
  10. Björn SteinbrinkDec 1, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.