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

Re: How to split a patch

From
PCPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Date
Jan 28, 2008, 09:32 UTC
Message-ID
<4d8e3fd30801280132k59676921h272addab6cac6899@mail.gmail.com>
In-Reply-To
<7vhcgyuwsx.fsf@gitster.siamese.dyndns.org>
On Jan 28, 2008 10:25 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
> "Paolo Ciarrocchi" <paolo.ciarrocchi@gmail.com> writes:
>
> > I know ho to do the opposite process, rebase -i and squash is something
> > I'm really used to do but this time that trick is not going to help me.
> >
> > What is the preferred way to split a big patch in a series of
> > smaller patches?
>
>
> I personally found the procedure described there a bit on the
> sketchy side, but does "SPLITTING COMMITS" section of git-rebase
> manual help?

Yes it helps but I still wonder whether thereis a "simpler" way to achive that. Is it possible to split a patch selecting the hunk in git gui or any other graphical tool?

That would be a good starting point for a newbie (like me).
Thanks!
Ciao,
-- 
Paolo
http://paolo.ciarrocchi.googlepages.com/
Previous: Junio C HamanoNext: Matthieu Moy
Message 3 of 11 in “How to split a patch”
  1. Paolo CiarrocchiJan 28, 2008
  2. Junio C HamanoJan 28, 2008
  3. Paolo CiarrocchiJan 28, 2008
  4. Matthieu MoyJan 28, 2008
  5. Junio C HamanoJan 28, 2008
  6. Junio C HamanoJan 28, 2008
  7. Mike HommeyJan 28, 2008
  8. Wincent ColaiutaJan 28, 2008
  9. Johannes SchindelinJan 28, 2008
  10. Wincent ColaiutaJan 28, 2008
  11. Boaz HarroshJan 28, 2008

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.