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

Editing patch sequences

From
FWFlorian Weimer <fw@deneb.enyo.de>
Date
Mar 9, 2008, 09:30 UTC
Message-ID
<877igcw8gn.fsf@mid.deneb.enyo.de>

I've got a patch sequence (a list of file names of patches to apply to some directory tree, not necessarily in quilt format), and I need to reorder those patches (for instance, I've got a different version of the directory tree, but don't want the patch at the beginning of the patch sequence, but add the end). If automatic reordering fails, I'd really like to get some sort of three-way conflict. After the editing process, I want to get back another patch sequence, with as few as possible differences to the original sequence (e.g., embedded file time stamps should be kept the same, file headers should be preserved, and the order of files in the patch should remain unchanged).

Has this already been implemented? "git rebase --interactive" comes close, I think. But minimizing the changes to individual patches seems a bit of work.

It's not necessary that this integrates well with other GIT operations, all this can happen on some throw-away branch or set of branches.

Next: Jakub Narebski
Message 1 of 3 in “Editing patch sequences”
  1. Florian WeimerMar 9, 2008
  2. Jakub NarebskiMar 9, 2008
  3. Florian WeimerMar 16, 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.