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

Rework a patch serie

From
MFmoreau francis <francis_moreau2000@yahoo.fr>
Date
Jun 27, 2006, 08:41 UTC
Message-ID
<20060627084130.28886.qmail@web25814.mail.ukl.yahoo.com>
Hello

Several times I have a topic branch that contains several commits like this:

            "master"
        o---o
             \                    "topic"
              o---o---o---o---o---o

When I think everything is in a good shape I generate several patches to submit them. For that, I do:

        $ git checkout topic
        $ git-format-patch -s -k -n master
        001-aaa.patch
        002-bbb.patch
        [...]
        006-fff.patch

Then I submit these patches for reviewing. Unfortunately, they're not perfect, so after some feedbacks from the communauty it appears that I need to make small modifications in the second commit in the topic branch for example...

What is the best and fastest way to do that ? Should I create a new topic branch and cherry pick from the old one ?

Thanks for your advices
Francis
Next: Andreas Ericsson
Message 1 of 3 in “Rework a patch serie”
  1. moreau francisJun 27, 2006
  2. Andreas EricssonJun 27, 2006
  3. Karl HasselströmJun 27, 2006

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.